Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::ToolKeybinding Struct Reference

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
char key = '\0'

Detailed Description

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>)".

Member Data Documentation

◆ key

char donner::editor::ToolKeybinding::key = '\0'

◆ label

std::string_view donner::editor::ToolKeybinding::label

The documentation for this struct was generated from the following file: