Helps build and manage the LVGL objects and screens for the application code.
More...
#include <ws_display_ui_helper.h>
Helps build and manage the LVGL objects and screens for the application code.
◆ ws_display_ui_helper()
◆ add_text_to_terminal()
void ws_display_ui_helper::add_text_to_terminal |
( |
const char * |
text | ) |
|
Add text on the terminal label and displays it.
- Parameters
-
text | Text to display on the terminal, should end in "\n" |
◆ set_load_bar_icon_complete()
void ws_display_ui_helper::set_load_bar_icon_complete |
( |
loadBarIcons |
iconType | ) |
|
Sets the color of an icon on the loading screen to green.
- Parameters
-
◆ set_label_status()
void ws_display_ui_helper::set_label_status |
( |
const char * |
text | ) |
|
Sets the text of the status label on the loading screen.
- Parameters
-
text | Desired text to write to the status label. |
◆ show_scr_error()
void ws_display_ui_helper::show_scr_error |
( |
const char * |
lblError, |
|
|
const char * |
lblDesc |
|
) |
| |
Build and display an error screen.
- Parameters
-
lblError | The generic error. |
lblDesc | Instructions or steps to resolve the error. |
◆ getLoadingState()
bool ws_display_ui_helper::getLoadingState |
( |
| ) |
|
Returns the loading screen's state.
- Returns
- The loading state, True if loading screen is active, False otherwise.
The documentation for this class was generated from the following files: