|
TB2026-YDS Firmware
|
A scrollable list menu. More...
#include <menu_screen.h>
Data Fields | |
| screen_t | base |
| const menu_item_t * | items |
| int | item_count |
| int | selected |
A scrollable list menu.
Embeds screen_t as its first member, so a menu_screen_t* doubles as a screen_t*. UP/DOWN move the selection, SELECT follows the item's navigate_to/action, BACK pops.
| screen_t menu_screen_t::base |
Screen vtable; must stay first for the cast.
| int menu_screen_t::item_count |
Number of entries in items.
| const menu_item_t* menu_screen_t::items |
Item array, owned by the caller.
| int menu_screen_t::selected |
Index of the highlighted row.