Display label and single-key shortcut for a tool. key is the binding design-tool users expect (Selection = V, Pen = P, Type = T); label is the tool's human name. The toolbar renders the tooltip as "<label> (<key>)". More...
#include "donner/editor/ToolKeybinding.h"
Public Attributes | |
| std::string_view | label |
| User-visible shortcut label. | |
| char | key = '\0' |
| Single-character keyboard binding, or zero when none is assigned. | |
Display label and single-key shortcut for a tool. key is the binding design-tool users expect (Selection = V, Pen = P, Type = T); label is the tool's human name. The toolbar renders the tooltip as "<label> (<key>)".
| char donner::editor::ToolKeybinding::key = '\0' |
Single-character keyboard binding, or zero when none is assigned.
| std::string_view donner::editor::ToolKeybinding::label |
User-visible shortcut label.