EasyGUI  Version v1.0
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.
 
 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.
 

Functions

guir_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_init()

guir_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 guir_t enumeration

◆ gui_process()

int32_t gui_process ( void  )

Processes all drawing operations for GUI.

Note
When GUI_CFG_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_CFG_OS != 0)
Return values
Numberof jobs done in current call

◆ gui_seteventcallback()

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