sGUI  V1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
color.h
Go to the documentation of this file.
1 #ifndef __COLOR_H__
2 #define __COLOR_H__
3 
72 #ifdef __cplusplus
73 extern "C" {
74 #endif /* __cplusplus */
75 
76 /*----- Header-Files -------------------------------------------------------*/
77 #include <stdint.h> /* Standard integer formats */
78 
79 /*----- Macros -------------------------------------------------------------*/
80 #define GUI_COLOR_BLACK 0x0000
81 #define GUI_COLOR_WHITE 0xFFFF
82 #define GUI_COLOR_LIGHT_GRAY 0xBDF7
83 #define GUI_COLOR_DARK_GREY 0x7BEF
84 #define GUI_COLOR_RED 0xF800
85 #define GUI_COLOR_YELLOW 0xFFE0
86 #define GUI_COLOR_ORANGE 0xFBE0
87 #define GUI_COLOR_BROWN 0x79E0
88 #define GUI_COLOR_GREEN 0x07E0
89 #define GUI_COLOR_CYAN 0x07FF
90 #define GUI_COLOR_BLUE 0x001F
91 #define GUI_COLOR_PINK 0xF81F
92 #define GUI_COLOR_MAGENTA 0xF81F
94 /*----- Data types ---------------------------------------------------------*/
95 
98 typedef uint16_t LCDCOLOR;
99 
100 /*----- Function prototypes ------------------------------------------------*/
101 
102 /*----- Data ---------------------------------------------------------------*/
103 
104 /*----- Implementation -----------------------------------------------------*/
105 
106 /*----- EOF ----------------------------------------------------------------*/
107 
108 #ifdef __cplusplus
109 }
110 #endif /* __cplusplus */
111 
120 #endif /* __COLOR_H__ */
uint16_t LCDCOLOR
Data type for a color definition.
Definition: color.h:98