|
MyRP2_ui_core
|
Public Member Functions | |
| TestObjectManagerWidget (Test_Manager *_manager) | |
| void | refresh () |
| WARNING : this function can be redefined. When several widget display one Model, only le last one must clear_change_flag() | |
Public Member Functions inherited from UIWidget | |
| UIWidget (UIDisplayDevice *_display_screen, size_t _frame_width, size_t _frame_height, uint8_t _widget_anchor_x, uint8_t _widget_anchor_y, bool _widget_with_border, uint8_t _widget_border_width=1, FramebufferFormat _framebuffer_format=FramebufferFormat::MONO_VLSB, StructFramebufferText _framebuffer_txt_cnf={.font=font_8x8}) | |
| Construct a new UIWidget object. | |
| ~UIWidget () | |
| Destroy the UIWidget object. | |
| void | add_widget (UIWidget *_sub_widget) |
Additional Inherited Members | |
Static Public Member Functions inherited from UIWidget | |
| static FramebufferColor | blinking_us (uint32_t _blink_period) |
Protected Member Functions inherited from UIWidget | |
| virtual void | set_displayed_model (UIModelObject *_new_displayed_model) |
| Set the displayed model object. | |
| void | set_display_screen (UIDisplayDevice *_new_display_device) |
| Set the display screen object. | |
| void | draw_border () |
Protected Attributes inherited from UIWidget | |
| std::vector< UIWidget * > | widgets |
| size_t | widget_width {128} |
| size_t | widget_height {8} |
| uint8_t | widget_start_x |
| uint8_t | widget_start_y |
| uint8_t | widget_border_width |
Definition at line 37 of file test_widget_on_serial_monitor.h.
| TestObjectManagerWidget::TestObjectManagerWidget | ( | Test_Manager * | _manager | ) |
Definition at line 74 of file test_widget_on_serial_monitor.cpp.
| TestObjectManagerWidget::~TestObjectManagerWidget | ( | ) |
Definition at line 81 of file test_widget_on_serial_monitor.cpp.
|
virtual |
WARNING : this function can be redefined. When several widget display one Model, only le last one must clear_change_flag()
First: Scan all contained sub-widgets if any and call refresh() member function of each of them.
Then: apply refresh() on the containing widget if any changes require a screen redraw and finally : clear model change flag
Reimplemented from UIWidget.
Definition at line 85 of file test_widget_on_serial_monitor.cpp.