Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
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: