TUI-specific widget base class. More...
#include <widget.h>


Public Member Functions | |
| TuiWidget (ObjectBase *parent=nullptr) | |
| Constructs a TuiWidget. | |
| ~TuiWidget () override | |
| Destructor. | |
| void | update () override |
| Marks the widget as needing a repaint. | |
Friends | |
| class | TuiSubsystem |
TUI-specific widget base class.
Thin subclass of the core Widget that adds TUI-specific behavior: notifying TuiSubsystem when the widget is dirty so that the screen can be repainted.
All geometry, visibility, focus, size policy, layout, and event dispatch functionality is inherited from Widget.
| promeki::TuiWidget::TuiWidget | ( | ObjectBase * | parent = nullptr | ) |
Constructs a TuiWidget.
| parent | Optional parent widget. |
|
override |
Marks the widget as needing a repaint.
Overrides Widget::update() to also notify TuiSubsystem that the screen needs repainting.