Shared state for the UI system.
More...
#include <context.h>
|
| | Context ()=default |
| | Default constructor.
|
| |
Shared state for the UI system.
Definition at line 97 of file context.h.
◆ Context()
| asw::ui::Context::Context |
( |
| ) |
|
|
default |
◆ Root
◆ focus
The focus manager.
Definition at line 107 of file context.h.
◆ hover
| Widget* asw::ui::Context::hover = nullptr |
|
private |
◆ navigation
Actions to read for focus navigation. Empty names use the built in keys.
Definition at line 111 of file context.h.
◆ pointer_capture
| Widget* asw::ui::Context::pointer_capture = nullptr |
|
private |
◆ show_focus
| bool asw::ui::Context::show_focus = false |
Whether focus is shown. Root turns it on for keyboard and controller navigation and off when the mouse is used.
Definition at line 115 of file context.h.
◆ theme
| Theme asw::ui::Context::theme |
The current UI theme.
Definition at line 104 of file context.h.
The documentation for this class was generated from the following file: