Should be snapped to whole area of a plane. Gives the plane a background and fills the rest with semi-transparent dim color to suggest modality.
- class Widget
- Base for widgets.
- void update() override virtual
- Update the widget after its state changed.
Ui:: Modal:: update() override virtual private
Update the widget after its state changed.
Expects to do only visual update, should not do any expensive operations like text relayouting.