|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Handle to a registered command, stable for the manager's lifetime. More...
#include <gui_core/input/gui_command_manager.h>
Public Member Functions | |
| constexpr bool | IsValid () const |
| constexpr | operator bool () const |
| constexpr bool | operator== (const CommandID &) const =default |
Static Public Member Functions | |
| static constexpr CommandID | Invalid () |
Public Attributes | |
| uint32_t | value = 0 |
Handle to a registered command, stable for the manager's lifetime.
The zero value is invalid, so structs holding one can be zero-initialized; real IDs start at 1.
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
constexprdefault |
|
inlinestaticconstexpr |
| uint32_t tachyon::CommandID::value = 0 |