Jazz2::Editor::ToolOptionItem struct

A value of an option of a tool, or a toggle, see ToolOptionsBuilder.

Public variables

String Label
Short text, shown when it has no icon and in lists.
EditorIcon Icon
Icon, or EditorIcon::None to show the label, the icon of the action isn't taken, the actions of a choice often share one.
const char* ActionId
Action of the editor that chooses or toggles it and tells whether it's chosen, or nullptr for one the tool keeps.
String Tooltip
Tooltip, the label of the action with its shortcut if empty, or the label.