X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/995d609b458a3a4883f66e466b907e6d690657af..cb0bd1585f0e7ca7fb0f23b571ca558fd810a48f:/drivers/displays/tft/theme.h?ds=inline diff --git a/drivers/displays/tft/theme.h b/drivers/displays/tft/theme.h index a8758e3..e2a3e78 100644 --- a/drivers/displays/tft/theme.h +++ b/drivers/displays/tft/theme.h @@ -86,18 +86,6 @@ typedef struct theme_s uint16_t colorFillAlt; // Slightly lighter or darker fill for window and control backgrounds } theme_t; -// Grayscale Theme (Default Setting) -theme_t themeGrayscale = { COLOR_WHITE, // Background Color - COLOR_GRAY_128, // Border Color - COLOR_GRAY_80, // Border Darker - COLOR_BLACK, // Text Color - COLOR_GRAY_50, // Alt. Text Color - COLOR_GRAY_200, // Fill (Normal) - COLOR_GRAY_225 }; // Fill (Alternate) - -// Default theme -#define THEME_DEFAULT themeGrayscale - // Default font #if CFG_TFTLCD_USEAAFONTS #define THEME_FONT DejaVuSansCondensedBold14_AA2 @@ -105,4 +93,6 @@ theme_t themeGrayscale = { COLOR_WHITE, // Bac #define THEME_FONT dejaVuSans9ptFontInfo #endif -#endif \ No newline at end of file +theme_t themeGetDefault(void); + +#endif