mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-01 00:46:47 -05:00
Multi screen support, with dyn alignment (#2801)
This commit is contained in:
parent
23cabb8b8a
commit
371b6b5079
161 changed files with 4042 additions and 4157 deletions
|
|
@ -93,8 +93,8 @@ class LGEView : public View {
|
|||
{{2 * 8, 3 * 8}, "Room:", Theme::getInstance()->fg_light->foreground},
|
||||
{{14 * 8, 3 * 8}, "Text:", Theme::getInstance()->fg_light->foreground},
|
||||
{{2 * 8, 5 * 8}, "Team:", Theme::getInstance()->fg_light->foreground},
|
||||
{{0 * 8, 7 * 8}, "Player:", Theme::getInstance()->fg_light->foreground},
|
||||
{{0 * 8, 10 * 8}, "Vest:", Theme::getInstance()->fg_light->foreground},
|
||||
{{UI_POS_X(0), 7 * 8}, "Player:", Theme::getInstance()->fg_light->foreground},
|
||||
{{UI_POS_X(0), 10 * 8}, "Vest:", Theme::getInstance()->fg_light->foreground},
|
||||
{{4 * 8, 12 * 8}, "ID:", Theme::getInstance()->fg_light->foreground},
|
||||
{{3 * 8, 14 * 8}, "Pow: /10", Theme::getInstance()->fg_light->foreground},
|
||||
{{2 * 8, 16 * 8}, "Time: x100ms", Theme::getInstance()->fg_light->foreground}};
|
||||
|
|
@ -171,10 +171,10 @@ class LGEView : public View {
|
|||
'0'};
|
||||
|
||||
Console console{
|
||||
{0, 18 * 8, screen_width, 7 * 16}};
|
||||
{0, 18 * 8, screen_width, UI_POS_Y_BOTTOM(4) - 18 * 8}};
|
||||
|
||||
TransmitterView tx_view{
|
||||
16 * 16,
|
||||
(int16_t)UI_POS_Y_BOTTOM(4),
|
||||
10000,
|
||||
12};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue