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...
 
uint8_t gui_protect (const uint8_t protect)
 Protect core from multiple thread access. More...
 
uint8_t gui_unprotect (const uint8_t unprotect)
 Unprotect core from multiple thread access. More...
 
uint8_t gui_delay (const uint32_t ms)
 Delay GUI in units of milliseconds. More...
 

Detailed Description

EasyGUI Graphical User Interface for embedded systems.

Function Documentation

◆ gui_delay()

uint8_t gui_delay ( const uint32_t  ms)

Delay GUI in units of milliseconds.

Note
Available only when GUI_CFG_OS is enabled
Parameters
[in]msTime to delay in units of milliseconds
Returns
1 on success, 0 otherwise

◆ 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 = 0, 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_protect()

uint8_t gui_protect ( const uint8_t  protect)

Protect core from multiple thread access.

Parameters
[in]protectSet to 1 to protect, 0 otherwise
Returns
1 on success, 0 otherwise

◆ gui_seteventcallback()

uint8_t gui_seteventcallback ( gui_eventcallback_t  cb)

Set callback for global events from GUI.

Parameters
[in]evt_fnCallback function
Returns
1 on success, 0 otherwise

◆ gui_unprotect()

uint8_t gui_unprotect ( const uint8_t  unprotect)

Unprotect core from multiple thread access.

Parameters
[in]unprotectSet to 1 to unprotect, 0 otherwise
Returns
1 on success, 0 otherwise