MiniGUI API Reference (MiniGUI-Threads)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Variables | |
MG_EXPORT gal_pixel | SysPixelIndex [] |
The pre-defined system pixel values. More... | |
const MG_EXPORT RGB | SysPixelColor [] |
The pre-defined system RGB colors. More... | |
#define COLOR_black PIXEL_black |
#define COLOR_blue PIXEL_blue |
#define COLOR_cyan PIXEL_cyan |
#define COLOR_darkblue PIXEL_darkblue |
#define COLOR_darkcyan PIXEL_darkcyan |
#define COLOR_darkgray PIXEL_darkgray |
#define COLOR_darkgreen PIXEL_darkgreen |
#define COLOR_darkmagenta PIXEL_darkmagenta |
#define COLOR_darkred PIXEL_darkred |
#define COLOR_darkyellow PIXEL_darkyellow |
#define COLOR_green PIXEL_green |
#define COLOR_invalid PIXEL_invalid |
#define COLOR_lightgray PIXEL_lightgray |
#define COLOR_lightwhite PIXEL_lightwhite |
#define COLOR_magenta PIXEL_magenta |
#define COLOR_transparent PIXEL_transparent |
#define COLOR_yellow PIXEL_yellow |
#define PIXEL_black SysPixelIndex[16] |
#define PIXEL_blue SysPixelIndex[9] |
#define PIXEL_cyan SysPixelIndex[11] |
#define PIXEL_darkblue SysPixelIndex[1] |
#define PIXEL_darkcyan SysPixelIndex[3] |
#define PIXEL_darkgray SysPixelIndex[7] |
#define PIXEL_darkgreen SysPixelIndex[2] |
#define PIXEL_darkmagenta SysPixelIndex[5] |
#define PIXEL_darkred SysPixelIndex[4] |
#define PIXEL_darkyellow SysPixelIndex[6] |
#define PIXEL_green SysPixelIndex[10] |
#define PIXEL_invalid 0 |
#define PIXEL_lightgray SysPixelIndex[8] |
#define PIXEL_lightwhite SysPixelIndex[15] |
#define PIXEL_magenta SysPixelIndex[13] |
#define PIXEL_red SysPixelIndex[12] |
#define PIXEL_transparent SysPixelIndex[0] |
#define PIXEL_yellow SysPixelIndex[14] |
#define SysColorIndex SysPixelIndex |
RGB SysPixelColor[] |
The pre-defined system RGB colors.
The elements in this array are system colors in RGB triples.
gal_pixel SysPixelIndex[] |
The pre-defined system pixel values.
MiniGUI defines some system pixel values when initializing graphics sub-system. You can access the arrary to get the system pixel values, or just use the following macros: