From 83b40e1ab65e6af24ddbaea9ea0f6dcdcdc23a16 Mon Sep 17 00:00:00 2001 From: barry-ha Date: Sun, 21 Jan 2024 09:14:42 -0800 Subject: [PATCH] adjusted white space in source code (no functional change) --- view_altimeter.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/view_altimeter.h b/view_altimeter.h index c3427d5..a9f13a2 100644 --- a/view_altimeter.h +++ b/view_altimeter.h @@ -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 @@ -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 ==================