mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 16:49:36 +00:00
Multi screen support, with dyn alignment (#2801)
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user