mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 23:19:02 +00:00
This reverts commit c6130c6e8d.
This commit is contained in:
@@ -113,12 +113,12 @@ class GeoPos : public View {
|
||||
spd_unit speed_unit_{};
|
||||
|
||||
Labels labels_position{
|
||||
{{1 * 8, UI_POS_Y(0)}, "CoG:", Theme::getInstance()->fg_light->foreground},
|
||||
{{1 * 8, UI_POS_Y(0)}, "Alt:", Theme::getInstance()->fg_light->foreground},
|
||||
{{1 * 8, 1 * 16}, "Lat: \xB0 ' \"", Theme::getInstance()->fg_light->foreground}, // 0xB0 is degree ° symbol in our 8x16 font
|
||||
{{1 * 8, 2 * 16}, "Lon: \xB0 ' \"", Theme::getInstance()->fg_light->foreground},
|
||||
};
|
||||
Labels label_spd_position{
|
||||
{{15 * 8, UI_POS_Y(0)}, "SoG:", Theme::getInstance()->fg_light->foreground},
|
||||
{{15 * 8, UI_POS_Y(0)}, "Spd:", Theme::getInstance()->fg_light->foreground},
|
||||
};
|
||||
NumberField field_altitude{
|
||||
{6 * 8, UI_POS_Y(0)},
|
||||
|
||||
@@ -114,12 +114,12 @@ class GeoPos : public View {
|
||||
spd_unit speed_unit_{};
|
||||
|
||||
Labels labels_position{
|
||||
{{1 * 8, 0 * 16}, "CoG:", Theme::getInstance()->fg_light->foreground},
|
||||
{{1 * 8, 0 * 16}, "Alt:", Theme::getInstance()->fg_light->foreground},
|
||||
{{1 * 8, 1 * 16}, "Lat: \xB0 ' \"", Theme::getInstance()->fg_light->foreground}, // 0xB0 is degree ° symbol in our 8x16 font
|
||||
{{1 * 8, 2 * 16}, "Lon: \xB0 ' \"", Theme::getInstance()->fg_light->foreground},
|
||||
};
|
||||
Labels label_spd_position{
|
||||
{{15 * 8, 0 * 16}, "SoG:", Theme::getInstance()->fg_light->foreground},
|
||||
{{15 * 8, 0 * 16}, "Spd:", Theme::getInstance()->fg_light->foreground},
|
||||
};
|
||||
NumberField field_altitude{
|
||||
{6 * 8, 0 * 16},
|
||||
|
||||
Reference in New Issue
Block a user