diff -r bc7c05011d69 -r 45647136ec95 components/tft/tft.c --- a/components/tft/tft.c Mon Oct 29 11:32:03 2018 +0100 +++ b/components/tft/tft.c Mon Oct 29 12:16:37 2018 +0100 @@ -45,25 +45,25 @@ extern uint8_t tft_def_small[]; // ==== Color definitions constants ============== -const color_t TFT_BLACK = { 0, 0, 0 }; -const color_t TFT_NAVY = { 0, 0, 128 }; -const color_t TFT_DARKGREEN = { 0, 128, 0 }; -const color_t TFT_DARKCYAN = { 0, 128, 128 }; -const color_t TFT_MAROON = { 128, 0, 0 }; -const color_t TFT_PURPLE = { 128, 0, 128 }; -const color_t TFT_OLIVE = { 128, 128, 0 }; -const color_t TFT_LIGHTGREY = { 192, 192, 192 }; -const color_t TFT_DARKGREY = { 128, 128, 128 }; -const color_t TFT_BLUE = { 0, 0, 255 }; -const color_t TFT_GREEN = { 0, 255, 0 }; -const color_t TFT_CYAN = { 0, 255, 255 }; -const color_t TFT_RED = { 255, 0, 0 }; -const color_t TFT_MAGENTA = { 255, 0, 255 }; -const color_t TFT_YELLOW = { 255, 255, 0 }; -const color_t TFT_WHITE = { 255, 255, 255 }; -const color_t TFT_ORANGE = { 255, 164, 0 }; -const color_t TFT_GREENYELLOW = { 172, 255, 44 }; -const color_t TFT_PINK = { 255, 192, 202 }; +const color_t TFT_BLACK = { 0, 0, 0 }; ///< Black +const color_t TFT_NAVY = { 0, 0, 128 }; ///< Navy blue +const color_t TFT_DARKGREEN = { 0, 128, 0 }; ///< Dark green +const color_t TFT_DARKCYAN = { 0, 128, 128 }; ///< Dark cyan +const color_t TFT_MAROON = { 128, 0, 0 }; ///< Maroon red +const color_t TFT_PURPLE = { 128, 0, 128 }; ///< Purple +const color_t TFT_OLIVE = { 128, 128, 0 }; ///< Olive +const color_t TFT_LIGHTGREY = { 192, 192, 192 }; ///< Light gray +const color_t TFT_DARKGREY = { 128, 128, 128 }; ///< Dark gray +const color_t TFT_BLUE = { 0, 0, 255 }; ///< Blue +const color_t TFT_GREEN = { 0, 255, 0 }; ///< Green +const color_t TFT_CYAN = { 0, 255, 255 }; ///< Cyan +const color_t TFT_RED = { 255, 0, 0 }; ///< Red +const color_t TFT_MAGENTA = { 255, 0, 255 }; ///< Magenta +const color_t TFT_YELLOW = { 255, 255, 0 }; ///< Yellow +const color_t TFT_WHITE = { 255, 255, 255 }; ///< White +const color_t TFT_ORANGE = { 255, 164, 0 }; ///< Orange +const color_t TFT_GREENYELLOW = { 172, 255, 44 }; ///< Green-yellow +const color_t TFT_PINK = { 255, 192, 202 }; ///< Pink // =============================================== // ==============================================================