EasyGUI Graphical User Interface for embedded systems.
More...
EasyGUI Graphical User Interface for embedded systems.
◆ 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] | ms | Time to delay in units of milliseconds |
- Returns
1 on success, 0 otherwise
◆ gui_init()
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] | protect | Set to 1 to protect, 0 otherwise |
- Returns
1 on success, 0 otherwise
◆ gui_seteventcallback()
Set callback for global events from GUI.
- Parameters
-
| [in] | evt_fn | Callback 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] | unprotect | Set to 1 to unprotect, 0 otherwise |
- Returns
1 on success, 0 otherwise