rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
ui_hero.h
1
/*
2
* The description of one hero readout: its name, unit, colour and the label
3
* of its second number. The motor screen draws it as a rail card.
4
*
5
* SPDX-License-Identifier: MIT
6
*/
7
#pragma once
8
9
#include "
gfx.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
typedef
struct
{
16
const
char
*label;
17
const
char
*unit;
18
gfx_color_t color;
19
int
decimals;
24
const
char
*
extreme_label
;
25
}
ui_hero_def_t
;
26
27
#ifdef __cplusplus
28
}
29
#endif
gfx.h
gfx: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
ui_hero_def_t
Definition
ui_hero.h:15
ui_hero_def_t::extreme_label
const char * extreme_label
Definition
ui_hero.h:24
shared
ui
include
ui_hero.h
Generated by
1.18.0