MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
The external stubs for COMMLCD NEWGAL engine. More...
Data Structures | |
struct | commlcd_info |
Functions | |
int | __commlcd_drv_init (void) |
int | __commlcd_drv_getinfo (struct commlcd_info *li, int width, int height, int depth) |
int | __commlcd_drv_release (void) |
int | __commlcd_drv_setclut (int firstcolor, int ncolors, GAL_Color *colors) |
int | __commlcd_drv_update (const RECT *rc_dirty) |
The external stubs for COMMLCD NEWGAL engine.
int __commlcd_drv_getinfo | ( | struct commlcd_info * | li, |
int | width, | ||
int | height, | ||
int | depth | ||
) |
Implement this stub to initialize the CommLCD engine.
li | The pointer to struct commlcd_info. This structure will be used to return the LCD surface information. |
width | The desired horizontal resolution of the screen. |
height | The desired vertical resolution of the screen. |
depth | The desired depth of the screen. |
Return 0 for success, otherwise for failure.
int __commlcd_drv_init | ( | void | ) |
Implement this stub to initialize the CommLCD engine. Return 0 for success.
int __commlcd_drv_release | ( | void | ) |
Implement this stub to release (destroy) the CommLCD engine.
Return 0 for success, otherwise for failure.
int __commlcd_drv_setclut | ( | int | firstcolor, |
int | ncolors, | ||
GAL_Color * | colors | ||
) |
Implement this stub to set the pallete when the pixel type is COMMLCD_PSEUDO_RGB332.
firstcolor | The index value of the first entry of the pallete. |
ncolors | The number of entries of the pallete. |
colors | The array of the colors for each entries in the pallete. |
Return 0 for success, otherwise for failure.
int __commlcd_drv_update | ( | const RECT * | rc_dirty | ) |
Implement this stub to update the screen.
rc_dirty | The rectangle contains the dirty region. |
Return 0 for success, otherwise for failure.