rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
overview_screen.h
1/*
2 * The feature menu: eight tiles in 4 x 2, each in a fixed place by kind.
3 * Row 1: the workbenches MOTOR & ESC (electronic speed controller), SERVO
4 * and SUPPLY, which drive outputs and can ARM. Row 2: the instruments
5 * RECEIVER, BATTERY and BALANCE, which only read. The last column: LOGS
6 * over SETUP. A tile carries a MODELLED badge when its hardware is not
7 * fitted. Programming is a task of a workbench (MOTOR & ESC > PROGRAM,
8 * SERVO > PROGRAM), not a tile.
9 *
10 * SPDX-License-Identifier: MIT
11 */
12#pragma once
13
14#include "ui_screen.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20void overview_invalidate(void);
21const ui_screen_t *overview_screen(void);
22
25void overview_screen_set_supply_real(bool real);
26
28int overview_screen_columns(void);
29
32ui_screen_id_t overview_screen_tile(int slot);
33
36const char *overview_screen_tile_name(int slot);
37const char *overview_screen_tile_line(int slot);
38
40gfx_rect_t overview_screen_tile_rect(int slot);
41
42#ifdef __cplusplus
43}
44#endif
Definition gfx.h:81
Definition ui_screen.h:68
Screen router.