|
TB2026-YDS Firmware
|
#include "root_menu.h"#include "now_playing.h"#include "storage_screen.h"#include "stats_screen.h"#include "settings_screen.h"#include "navigator.h"#include "status_bar.h"#include "gfx.h"#include "icons.h"Macros | |
| #define | ROW_H 40 /* 4 rows * 40 = 160 fills the panel below the bar (160 + STATUS_BAR_H = 176) */ |
| #define | N_ROWS 4 |
| #define | ICON_SZ 32 /* all menu icons are 32x32 (see icons.h) */ |
| #define | ARROW_X 2 /* caret column, left of the icon */ |
| #define | ICON_X 16 |
| #define | ICON_INSET ((ROW_H - ICON_SZ) / 2) /* 6px: vertically center the icon in the row */ |
| #define | TEXT_X 52 |
| #define | TEXT_SCALE 2 |
Functions | |
| screen_t * | root_menu (void) |
| Get the singleton root-menu screen, ready to push onto the navigator. | |
| #define ARROW_X 2 /* caret column, left of the icon */ |
| #define ICON_SZ 32 /* all menu icons are 32x32 (see icons.h) */ |
| #define ICON_X 16 |
| #define N_ROWS 4 |
| #define ROW_H 40 /* 4 rows * 40 = 160 fills the panel below the bar (160 + STATUS_BAR_H = 176) */ |
| #define TEXT_SCALE 2 |
| #define TEXT_X 52 |
| screen_t * root_menu | ( | void | ) |
Get the singleton root-menu screen, ready to push onto the navigator.