feat(color): Convert top bar display in main view into widgets (#3700)

* Convert radio info (USB, volume, signal strength), date/time and internal GPS display from top bar into widgets.

* Fix B&W build.
This commit is contained in:
philmoz
2023-08-04 12:14:31 +10:00
committed by GitHub
parent 69338ab0ab
commit 4272a03025
14 changed files with 347 additions and 240 deletions
+4 -4
View File
@@ -86,7 +86,7 @@ static inline void check_struct()
CHKSIZE(ModelHeader, 131);
CHKSIZE(CurveHeader, 4);
CHKSIZE(CustomScreenData, 852);
CHKTYPE(TopBarPersistentData, 300);
CHKTYPE(TopBarPersistentData, 444);
#elif defined(PCBNV14)
// TODO
#else
@@ -146,14 +146,14 @@ static inline void check_struct()
#elif defined(PCBHORUS)
#if defined(PCBX10)
CHKSIZE(RadioData, 916);
CHKSIZE(ModelData, 15463);
CHKSIZE(ModelData, 15607);
#else
CHKSIZE(RadioData, 916);
CHKSIZE(ModelData, 15463);
CHKSIZE(ModelData, 15607);
#endif
#elif defined(PCBNV14)
CHKSIZE(RadioData, 916);
CHKSIZE(ModelData, 15319);
CHKSIZE(ModelData, 15463);
#endif
#undef CHKSIZE