Skip to content

Commit

Permalink
adjusted white space in source code (no functional change)
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-ha committed Jan 21, 2024
1 parent 7e066a2 commit 83b40e1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions view_altimeter.h
Expand Up @@ -135,6 +135,7 @@ class ViewAltimeter : public View {
ePressureMinus,
eSynchronize,
};
// clang-format off
#define nPressureButtons 3
FunctionButton pressureButtons[nPressureButtons] = {
// For "sea level pressure" we have rather small modest +/- buttons, meant to visually
Expand All @@ -143,12 +144,13 @@ class ViewAltimeter : public View {
//
// 3.2" display is 320 x 240 pixels, landscape, (y=239 reserved for activity bar)
//
// label origin size touch-target
// text x,y w,h x,y w,h radius color functionID
{"+", 160 - 20 - 98, 198, 42, 36, {1, 158, 159, 89}, 4, cTEXTCOLOR, ePressurePlus}, // Up
{"-", 160 - 20 + 98, 198, 42, 36, {161, 158, 159, 89}, 4, cTEXTCOLOR, ePressureMinus}, // Down
{"", 280, 46, 39, 84, {220, 48, 99, 84}, 4, cTEXTCOLOR, eSynchronize}, // sync readings
// label origin size touch-target
// text x,y w,h x,y w,h radius color functionID
{"+", 160 - 20 - 98, 198, 42, 36, { 1, 158, 159, 89}, 4, cTEXTCOLOR, ePressurePlus }, // Up
{"-", 160 - 20 + 98, 198, 42, 36, {161, 158, 159, 89}, 4, cTEXTCOLOR, ePressureMinus}, // Down
{"", 280, 46, 39, 84, {220, 48, 99, 84}, 4, cTEXTCOLOR, eSynchronize }, // sync readings
};
// clang-format on

// ======== barometer and temperature helpers ==================

Expand Down

0 comments on commit 83b40e1

Please sign in to comment.