Add PageIndicator widget to reduce code duplication (#1218)

* Move PageIndicator widget to its own files to reduce code duplication
* Use uint8_t in PageIndicator
This commit is contained in:
Riku Isokoski 2022-07-05 08:41:09 +03:00 committed by GitHub
parent c0770cde8a
commit ec8a845052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 70 additions and 90 deletions

View file

@ -405,6 +405,7 @@ list(APPEND SOURCE_FILES
displayapp/screens/Styles.cpp
displayapp/Colors.cpp
displayapp/widgets/Counter.cpp
displayapp/widgets/PageIndicator.cpp
## Settings
displayapp/screens/settings/QuickSettings.cpp
@ -609,6 +610,7 @@ set(INCLUDE_FILES
displayapp/screens/Alarm.h
displayapp/Colors.h
displayapp/widgets/Counter.h
displayapp/widgets/PageIndicator.h
drivers/St7789.h
drivers/SpiNorFlash.h
drivers/SpiMaster.h