Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::EditorMenuItemPresentation Struct Reference

Enabled and checked state computed once for both menu backends. More...

#include "donner/editor/EditorMenuModel.h"

Public Attributes

bool enabled = true
 Whether the user can activate this menu item.
bool checked = false
 Whether the item displays a selection checkmark.
bool shortcutEnabled = true
 Whether the item's shortcut is displayed and registered for the current keyboard focus.

Detailed Description

Enabled and checked state computed once for both menu backends.

Member Data Documentation

◆ checked

bool donner::editor::EditorMenuItemPresentation::checked = false

Whether the item displays a selection checkmark.

◆ enabled

bool donner::editor::EditorMenuItemPresentation::enabled = true

Whether the user can activate this menu item.

◆ shortcutEnabled

bool donner::editor::EditorMenuItemPresentation::shortcutEnabled = true

Whether the item's shortcut is displayed and registered for the current keyboard focus.


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