43 gfx_color_t fill,
bool pressed,
bool enabled);
66 gfx_color_t fill,
bool pressed,
bool enabled,
111#define UI_KEYS_FOOT (UI_ALERT_Y - UI_BAND_H - 4)
166 ui_icon_fn icon,
const char *name,
const char *line,
171#define UI_PILL_INSET 24
181 gfx_color_t dot, gfx_color_t fill);
196 gfx_color_t dot, gfx_color_t fill,
int inset,
212 gfx_color_t dot, gfx_color_t fill, gfx_color_t ink,
221 const char *unit, gfx_color_t color);
225void ui_fmt(
char *out,
size_t n,
float value,
int decimals);
232void ui_clock(
char *out,
size_t n, uint32_t seconds);
306#define UI_CHOICE_ROW_H 56
327 bool pressed,
bool open);
343 bool chosen,
bool pressed);
361#define UI_HOLD_S 2.0f
369#define UI_HOLD_MAX_CREDIT_S 0.25f
376#define UI_HOLD_FLASH_PHASE_MS 25
378#define UI_HOLD_FLASH_CYCLE 3
380#define UI_HOLD_FLASH_TIMES 2
382#define UI_HOLD_FLASH_MS \
383 (UI_HOLD_FLASH_PHASE_MS * UI_HOLD_FLASH_CYCLE * UI_HOLD_FLASH_TIMES)
390gfx_color_t
ui_hold_fill(gfx_color_t base, gfx_color_t target,
float held_s);
#define s
Short name for esc_stick_s inside the five stick-class files.
Definition esc_stick_panel_int.h:295
gfx: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
Definition ui_widgets.h:415
bool flash_new
Definition ui_widgets.h:420
float held_s
Definition ui_widgets.h:416
int flash_ms
Definition ui_widgets.h:419
bool fired
Definition ui_widgets.h:418
bool down
Definition ui_widgets.h:417
Where a tile places its parts and in which faces: one look per grid, the menu's and SETUP's....
Definition ui_widgets.h:131
int16_t icon_dy
Definition ui_widgets.h:132
const gfx_font_t * name_f
Definition ui_widgets.h:138
int16_t line_pitch
Definition ui_widgets.h:136
const gfx_font_t * line_f
Definition ui_widgets.h:139
int16_t icon
Definition ui_widgets.h:133
int16_t line_dy
Definition ui_widgets.h:135
int16_t name_dy
Definition ui_widgets.h:134
Icons drawn with primitives rather than stored as bitmaps.
void(*) ui_icon_fn(gfx_canvas_t *c, int x, int y, int size, gfx_color_t color)
An icon centred on (x, y), inside a box of size x size px around it. Every ui_icon_ function below ha...
Definition ui_icons.h:26
The visual language of the bench, resolved at runtime.