3#include "liblvgl/lvgl.h"
25#define COL_BG lv_color_hex(0x68468F)
26#define COL_PANEL lv_color_hex(0x503570)
27#define COL_ACCENT lv_color_hex(0xFFDF61)
28#define COL_ACCENT2 lv_color_hex(0xCCAA30)
29#define COL_BTN_IDLE lv_color_hex(0x553878)
30#define COL_BORDER lv_color_hex(0xFFDF61)
31#define COL_TEXT lv_color_hex(0xFFDF61)
32#define COL_TEXT_DIM lv_color_hex(0xCCAA30)
33#define COL_TEXT_SEL lv_color_hex(0x3A2055)
34#define COL_YELLOW lv_color_hex(0xFFDF61)
35#define COL_RED lv_color_hex(0xFF4444)
43#define COL_THEME_PRIMARY lv_color_hex(0x0D0D10)
44#define COL_THEME_SECONDARY lv_color_hex(0x0D0D10)
45#define UI_THEME_DARK true
51#define UI_DEFAULT_FONT (&lv_font_montserrat_20)
86#define UI_CTRL_REFRESH_MS 500
87#define UI_CTRL_SLOT_LEFT CtrlSlot::MaxMotorTempC
88#define UI_CTRL_SLOT_MID CtrlSlot::AutonTimer
89#define UI_CTRL_SLOT_RIGHT CtrlSlot::None
constexpr int UI_ANIM_BANNER_STAGGER_MS
Delay between buttons.
constexpr int UI_ANIM_BANNER_PX_MS
Per-pixel scroll duration.
constexpr int UI_ANIM_BANNER_REPEAT_DELAY_MS
Delay before banner repeats.
constexpr int UI_ANIM_RUN_ZOOM_IN_MS
Zoom when opening run screen.
constexpr int UI_ODOM_REFRESH_MS
Odom X/Y/Angle label refresh period.
constexpr int UI_ANIM_RUN_ZOOM_OUT_MS
Zoom when pressing BACK.
CtrlSlot
Per-slot content options for the controller status line.
@ MaxMotorTempC
"55C" — hottest drive/score motor.
@ OdomTheta
"T90" — current odom heading (degrees).
@ OdomY
"Y12.0" — current odom Y (inches).
@ AutonTimer
"15.2s" — last auton elapsed time (set by autonomous()).
@ BatteryPct
"87%" — main battery capacity.
@ OdomX
"X24.5" — current odom X (inches).