TB2026-YDS Firmware
Loading...
Searching...
No Matches
menu_screen_t Struct Reference

A scrollable list menu. More...

#include <menu_screen.h>

Data Fields

screen_t base
const menu_item_titems
int item_count
int selected

Detailed Description

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.

Field Documentation

◆ base

screen_t menu_screen_t::base

Screen vtable; must stay first for the cast.

◆ item_count

int menu_screen_t::item_count

Number of entries in items.

◆ items

const menu_item_t* menu_screen_t::items

Item array, owned by the caller.

◆ selected

int menu_screen_t::selected

Index of the highlighted row.


The documentation for this struct was generated from the following file: