LavaMenu
119 declarations · 119 documented
LavaMenu
-
KeyShortcutstructKeyboard shortcut attached to a menu item.
-
KeyShortcutModifierstructModifier flags for
KeyShortcut, resolved to GLFW-styleKeyModsbits. -
MenustructOne top-level menu ("File", "Edit") or a nested submenu.
-
MenuActionTablestructClosures keyed by
MenuID. NotEquatable— compared only by key set in tests. -
MenuBarstructRoot menubar description.
-
MenuBarBuilderenumBuilds the menus of a
MenuBar, withif,if/elseandforsupported. -
MenuBuilderenumBuilds the rows of a
Menufrom items, separators and submenus, withif,if/elseandforsupported. Items built in a loop get distinct derived ids even when their titles repeat. -
MenuContentenumOne row of a menu description, before resolving.
-
MenuControllerclassOwns the last resolved menubar and dispatches activations.
-
MenuEntryenumOne row of a resolved menu.
-
MenuIconstructPicture for a top-level menu title.
-
MenuIDstructStable identity for a menu or menu item across rebuilds.
-
MenuItemstructA menu item in a menubar description: text, an action, and optionally an id, a shortcut and a checkmark.
-
MenuItemModelstructA resolved menu item.
-
MenuKeyModsenumModifier bitfield used by
KeyShortcut. Same values as GLFW / LavaUIKeyMods. -
MenuModelstructA resolved menubar: every menu, submenu and item with a final
MenuID, and no closures. What a backend draws or exports, and cheap to compare. -
MenuNodestructA resolved menu or submenu.
-
MenuSeparatorstructA separator line between groups of items.