Struct SYN_Menu¶
Menu runtime state — navigation stack and rendering.
#include <syn_menu.h>
Public Attributes¶
| Type | Name |
|---|---|
| const SYN_MenuItem * | current |
| uint8_t | depth |
| bool | editing |
| SYN_MenuRenderFn | render |
| void * | render_ctx |
| const SYN_MenuItem * | root |
| uint8_t | selected |
| const SYN_MenuItem * | stack |
| uint8_t | stack_sel |
Public Attributes Documentation¶
variable current¶
Current menu level (submenu)
variable depth¶
Current depth (0 = root)
variable editing¶
In value-edit mode?
variable render¶
Called after state changes
variable render_ctx¶
Context for render callback
variable root¶
Root menu item (submenu)
variable selected¶
Currently highlighted index
variable stack¶
Parent chain
variable stack_sel¶
Selection idx
The documentation for this class was generated from the following file src/syntropic/ui/syn_menu.h