43 extern uint8_t tft_minya24[]; |
43 extern uint8_t tft_minya24[]; |
44 extern uint8_t tft_tooney32[]; |
44 extern uint8_t tft_tooney32[]; |
45 extern uint8_t tft_def_small[]; |
45 extern uint8_t tft_def_small[]; |
46 |
46 |
47 // ==== Color definitions constants ============== |
47 // ==== Color definitions constants ============== |
48 const color_t TFT_BLACK = { 0, 0, 0 }; |
48 const color_t TFT_BLACK = { 0, 0, 0 }; ///< Black |
49 const color_t TFT_NAVY = { 0, 0, 128 }; |
49 const color_t TFT_NAVY = { 0, 0, 128 }; ///< Navy blue |
50 const color_t TFT_DARKGREEN = { 0, 128, 0 }; |
50 const color_t TFT_DARKGREEN = { 0, 128, 0 }; ///< Dark green |
51 const color_t TFT_DARKCYAN = { 0, 128, 128 }; |
51 const color_t TFT_DARKCYAN = { 0, 128, 128 }; ///< Dark cyan |
52 const color_t TFT_MAROON = { 128, 0, 0 }; |
52 const color_t TFT_MAROON = { 128, 0, 0 }; ///< Maroon red |
53 const color_t TFT_PURPLE = { 128, 0, 128 }; |
53 const color_t TFT_PURPLE = { 128, 0, 128 }; ///< Purple |
54 const color_t TFT_OLIVE = { 128, 128, 0 }; |
54 const color_t TFT_OLIVE = { 128, 128, 0 }; ///< Olive |
55 const color_t TFT_LIGHTGREY = { 192, 192, 192 }; |
55 const color_t TFT_LIGHTGREY = { 192, 192, 192 }; ///< Light gray |
56 const color_t TFT_DARKGREY = { 128, 128, 128 }; |
56 const color_t TFT_DARKGREY = { 128, 128, 128 }; ///< Dark gray |
57 const color_t TFT_BLUE = { 0, 0, 255 }; |
57 const color_t TFT_BLUE = { 0, 0, 255 }; ///< Blue |
58 const color_t TFT_GREEN = { 0, 255, 0 }; |
58 const color_t TFT_GREEN = { 0, 255, 0 }; ///< Green |
59 const color_t TFT_CYAN = { 0, 255, 255 }; |
59 const color_t TFT_CYAN = { 0, 255, 255 }; ///< Cyan |
60 const color_t TFT_RED = { 255, 0, 0 }; |
60 const color_t TFT_RED = { 255, 0, 0 }; ///< Red |
61 const color_t TFT_MAGENTA = { 255, 0, 255 }; |
61 const color_t TFT_MAGENTA = { 255, 0, 255 }; ///< Magenta |
62 const color_t TFT_YELLOW = { 255, 255, 0 }; |
62 const color_t TFT_YELLOW = { 255, 255, 0 }; ///< Yellow |
63 const color_t TFT_WHITE = { 255, 255, 255 }; |
63 const color_t TFT_WHITE = { 255, 255, 255 }; ///< White |
64 const color_t TFT_ORANGE = { 255, 164, 0 }; |
64 const color_t TFT_ORANGE = { 255, 164, 0 }; ///< Orange |
65 const color_t TFT_GREENYELLOW = { 172, 255, 44 }; |
65 const color_t TFT_GREENYELLOW = { 172, 255, 44 }; ///< Green-yellow |
66 const color_t TFT_PINK = { 255, 192, 202 }; |
66 const color_t TFT_PINK = { 255, 192, 202 }; ///< Pink |
67 // =============================================== |
67 // =============================================== |
68 |
68 |
69 // ============================================================== |
69 // ============================================================== |
70 // ==== Set default values of global variables ================== |
70 // ==== Set default values of global variables ================== |
71 uint8_t orientation = LANDSCAPE;// screen orientation |
71 uint8_t orientation = LANDSCAPE;// screen orientation |