feat(color): Change global variables layout to better match other pages (#3116)

* Change global variables layout to better match other pages.

* Move internal classes for global variable page from .h to .cpp file. Convert header text in edit page to StaticText object and remove 'paint' function.

* Fix build error.

* chore: Formatting
This commit is contained in:
philmoz
2023-01-28 12:28:18 +10:00
committed by GitHub
parent e9b8a23ba4
commit 7a1231753a
4 changed files with 397 additions and 439 deletions
+3
View File
@@ -152,4 +152,7 @@ int strncasecmp(char (&s1)[L1], const char *const s2)
return strncasecmp(s1, s2, L1);
}
std::string getValueWithUnit(int val, uint8_t unit, LcdFlags flags);
std::string getGVarValue(uint8_t gvar, gvar_t value, LcdFlags flags);
#endif // _STRHELPERS_H_