TB2026-YDS Firmware
Loading...
Searching...
No Matches
menu_item.h
Go to the documentation of this file.
1
9#pragma once
10
11#include "screen.h"
12
19typedef struct {
20 const char *label;
22 void (*action)(void);
Screen interface contract: the vtable every screen implements.
A single menu row.
Definition menu_item.h:19
screen_t * navigate_to
Definition menu_item.h:21
const char * label
Definition menu_item.h:20
void(* action)(void)
Definition menu_item.h:22
A screen's behaviour, as a table of function pointers.
Definition screen.h:31