Multi screen support, with dyn alignment (#2801)

This commit is contained in:
Totoo
2025-10-03 19:10:10 +02:00
committed by GitHub
parent 23cabb8b8a
commit 371b6b5079
161 changed files with 4042 additions and 4157 deletions
+7 -7
View File
@@ -116,36 +116,36 @@ class RecordView : public View {
Theme::getInstance()->bg_darkest->background};
/*ImageButton button_pitch_rssi {
{ 2, 0 * 16, 3 * 8, 1 * 16 },
{ 2, UI_POS_Y(0), 3 * 8, 1 * 16 },
&bitmap_rssipwm,
Theme::getInstance()->fg_orange->foreground,
Theme::getInstance()->fg_orange->background
};*/
ImageButton button_record{
//{ 4 * 8, 0 * 16, 2 * 8, 1 * 16 },
{0 * 8, 0 * 16, 2 * 8, 1 * 16},
//{ 4 * 8, UI_POS_Y(0), 2 * 8, 1 * 16 },
{UI_POS_X(0), UI_POS_Y(0), UI_POS_WIDTH(2), UI_POS_HEIGHT(1)},
&bitmap_record,
Theme::getInstance()->fg_red->foreground,
Theme::getInstance()->fg_red->background};
Text text_record_filename{
{7 * 8, 0 * 16, 8 * 8, 16},
{UI_POS_X(7), UI_POS_Y(0), UI_POS_WIDTH(8), UI_POS_HEIGHT(1)},
"",
};
Text text_record_dropped{
{16 * 8, 0 * 16, 3 * 8, 16},
{UI_POS_X(16), UI_POS_Y(0), UI_POS_WIDTH(3), UI_POS_HEIGHT(1)},
"",
};
Text text_time_available{
{21 * 8, 0 * 16, 9 * 8, 16},
{UI_POS_X_RIGHT(9), UI_POS_Y(0), UI_POS_WIDTH(9), UI_POS_HEIGHT(1)},
"",
};
Image gps_icon{
{2 * 8 + 1, 0 * 16, 2 * 8, 1 * 16},
{UI_POS_X(2) + 1, UI_POS_Y(0), UI_POS_WIDTH(2), UI_POS_HEIGHT(1)},
&bitmap_target,
Theme::getInstance()->bg_darkest->foreground,
Theme::getInstance()->bg_darkest->background};