mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 01:03:22 +00:00
18 lines
399 B
C
18 lines
399 B
C
|
#pragma once
|
||
|
|
||
|
typedef struct Menu Menu;
|
||
|
typedef struct MenuItem MenuItem;
|
||
|
|
||
|
// Add menu item to root menu
|
||
|
void menu_item_add(Menu* menu, MenuItem* item);
|
||
|
|
||
|
// Add menu item to settings menu
|
||
|
void menu_settings_item_add(Menu* menu, MenuItem* item);
|
||
|
|
||
|
// Menu controls
|
||
|
void menu_up(Menu* menu);
|
||
|
void menu_down(Menu* menu);
|
||
|
void menu_ok(Menu* menu);
|
||
|
void menu_back(Menu* menu);
|
||
|
void menu_exit(Menu* menu);
|