|
TachyonUI 0.1.0
High-performance UI for building tools.
|
State of a CommandSearch box; user-owned, keep it alive across frames. More...
#include <gui_controls/gui_widget_state_types.h>
Public Attributes | |
| std::string | query |
| the typed text | |
| std::string | hint = "Search or run a command" |
| shown while the query is empty | |
| std::string | shortcut |
| Keycap at the right, e.g. the key that focuses the search. | |
| int | current = 0 |
| highlighted match, moved by Up / Down | |
| bool | focusRequested = false |
| set by FocusCommandSearch, taken next frame | |
| bool | ranCommand = false |
| a command ran since the last CommandSearch call | |
| tachyon::ID | listWindowID = tachyon::ID::Invalid() |
| internal: the results popup | |
State of a CommandSearch box; user-owned, keep it alive across frames.
| std::string tachyon::CommandSearchState::query |
the typed text
| std::string tachyon::CommandSearchState::hint = "Search or run a command" |
shown while the query is empty
| std::string tachyon::CommandSearchState::shortcut |
Keycap at the right, e.g. the key that focuses the search.
| int tachyon::CommandSearchState::current = 0 |
highlighted match, moved by Up / Down
| bool tachyon::CommandSearchState::focusRequested = false |
set by FocusCommandSearch, taken next frame
| bool tachyon::CommandSearchState::ranCommand = false |
a command ran since the last CommandSearch call
| tachyon::ID tachyon::CommandSearchState::listWindowID = tachyon::ID::Invalid() |
internal: the results popup