One open menu: the root dropdown or a submenu.
More...
#include <gui_controls/gui_menu_manager.h>
One open menu: the root dropdown or a submenu.
◆ depth
| int tachyon::MenuManager::Level::depth = -1 |
root is 0, each submenu level adds 1
◆ windowID
◆ triggerID
◆ activeItemID
highlighted item (mouse or keyboard)
◆ scrollUpID
pre-allocated each frame for stable dynamic IDs
◆ scrollDownID
◆ canScrollUp
| bool tachyon::MenuManager::Level::canScrollUp = false |
◆ canScrollDown
| bool tachyon::MenuManager::Level::canScrollDown = false |
◆ isOpen
| bool tachyon::MenuManager::Level::isOpen = false |
◆ reopened
| bool tachyon::MenuManager::Level::reopened = false |
closed since last shown: start scrolled to the top
◆ reserveIconColumn
| bool tachyon::MenuManager::Level::reserveIconColumn = false |
This frame: reserve the icon slot (from last frame's content).
◆ itemsHaveIcons
| bool tachyon::MenuManager::Level::itemsHaveIcons = false |
this frame: accumulated as items with icons are added
◆ filter
| std::string tachyon::MenuManager::Level::filter |
MenuFilter's text; cleared when the menu closes.
◆ filtering
| bool tachyon::MenuManager::Level::filtering = false |
This frame: MenuFilter holds text, so items not matching it hide.
The documentation for this struct was generated from the following file: