LavaUI docs GitHub

LavaMenu

119 declarations · 119 documented

LavaMenu

  • KeyShortcut struct

    Keyboard shortcut attached to a menu item.

  • KeyShortcutModifier struct

    Modifier flags for KeyShortcut, resolved to GLFW-style KeyMods bits.

  • Menu struct

    One top-level menu ("File", "Edit") or a nested submenu.

  • MenuActionTable struct

    Closures keyed by MenuID. Not Equatable — compared only by key set in tests.

  • MenuBar struct

    Root menubar description.

  • MenuBarBuilder enum

    Builds the menus of a MenuBar, with if, if/else and for supported.

  • MenuBuilder enum

    Builds the rows of a Menu from items, separators and submenus, with if, if/else and for supported. Items built in a loop get distinct derived ids even when their titles repeat.

  • MenuContent enum

    One row of a menu description, before resolving.

  • MenuController class

    Owns the last resolved menubar and dispatches activations.

  • MenuEntry enum

    One row of a resolved menu.

  • MenuIcon struct

    Picture for a top-level menu title.

  • MenuID struct

    Stable identity for a menu or menu item across rebuilds.

  • MenuItem struct

    A menu item in a menubar description: text, an action, and optionally an id, a shortcut and a checkmark.

  • MenuItemModel struct

    A resolved menu item.

  • MenuKeyMods enum

    Modifier bitfield used by KeyShortcut. Same values as GLFW / LavaUI KeyMods.

  • MenuModel struct

    A resolved menubar: every menu, submenu and item with a final MenuID, and no closures. What a backend draws or exports, and cheap to compare.

  • MenuNode struct

    A resolved menu or submenu.

  • MenuSeparator struct

    A separator line between groups of items.