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.
 
 Core widget functions
 Core functions for all widgets.
 

Data Structures

struct  gui_timer_t
 Timer structure. More...
 
struct  gui_translate_language_t
 Translation language structure. More...
 
struct  gui_translate_t
 Basic translation structure for internal use. More...
 

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.

Returns
Member of 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)
Returns
Number of 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