EasyGUI  v0.1
Platform independent GUI Library
EasyGUI

EasyGUI Graphical User Interface for embedded systems. More...

Modules

 Internal macros
 List of internal macros which can be used only inside GUI library and are not visible by user outside GUI library.
 
 Configuration
 GUI configuration setup.
 
 List of special keys
 List of used special keys for keyboard emulation.
 
 Structures and enumerations
 List of core structures and enumerations.
 
 Flags
 List of all flags in GUI library.
 
 Software timers
 Generic software timers.
 
 Core widget functions
 Core functions for all widgets.
 
 Translation engine
 String translation engine for widgets.
 

Data Structures

struct  GUI_t
 GUI main object structure. More...
 

Functions

GUI_Result_t gui_init (void)
 Initializes GUI stack. In addition, it prepares memory for work with widgets on later usage and calls low-layer functions to initialize LCD or custom driver for LCD. More...
 
int32_t gui_process (void)
 Processes all drawing operations for GUI. More...
 
uint8_t gui_seteventcallback (GUI_EventCallback_t cb)
 Set callback for global events from GUI. More...
 

Detailed Description

EasyGUI Graphical User Interface for embedded systems.

Function Documentation

GUI_Result_t gui_init ( void  )

Initializes GUI stack. In addition, it prepares memory for work with widgets on later usage and calls low-layer functions to initialize LCD or custom driver for LCD.

Return values
Memberof GUI_Result_t enumeration
int32_t gui_process ( void  )

Processes all drawing operations for GUI.

Note
When GUI_OS is set to 0, then user has to call this function in main loop, otherwise it is processed in separated thread by GUI (GUI_OS != 0)
Return values
Numberof jobs done in current call

Periodically process everything

uint8_t gui_seteventcallback ( GUI_EventCallback_t  cb)

Set callback for global events from GUI.

Parameters
[in]cbCallback function
Returns
0 on failure, non-zero otherwise

< Set user callback

< Set default callback