Metadata for one command. More...
#include <command_registry.hpp>
Public Attributes | |
| CommandID | id = kInvalidCommandID |
| std::string | name |
| User-facing display name ("Open File…"). | |
| std::string | category |
| Group ("File", "Edit", "View") for the editor. | |
| KeyCode | default_key = KeyCode::unknown |
| std::uint16_t | default_modifiers = 0 |
| bool | enabled = true |
| False = greyed out / not dispatched. | |
Metadata for one command.
Used by KeyMappingEditor to render the list of rebindable actions and by the registry for display/debug.
| std::string pulp::view::CommandInfo::category |
Group ("File", "Edit", "View") for the editor.
| KeyCode pulp::view::CommandInfo::default_key = KeyCode::unknown |
| std::uint16_t pulp::view::CommandInfo::default_modifiers = 0 |
| bool pulp::view::CommandInfo::enabled = true |
False = greyed out / not dispatched.
| CommandID pulp::view::CommandInfo::id = kInvalidCommandID |
| std::string pulp::view::CommandInfo::name |
User-facing display name ("Open File…").