WatchFaceAnalog: remove unused ScreenList, add needed includes

Remove unused `ScreenList.h` include.

For `std::abs()` add needed include `<cmath>`.

For the forward declared Settings-Controller add the `Settings.h`
include to the cpp file.
This commit is contained in:
Reinhold Gschweicher 2021-11-29 22:39:33 +01:00 committed by JF
parent 4b7f2546bd
commit e8db73e0e7
2 changed files with 2 additions and 1 deletions

View file

@ -1,9 +1,11 @@
#include "displayapp/screens/WatchFaceAnalog.h" #include "displayapp/screens/WatchFaceAnalog.h"
#include <cmath>
#include <lvgl/lvgl.h> #include <lvgl/lvgl.h>
#include "displayapp/screens/BatteryIcon.h" #include "displayapp/screens/BatteryIcon.h"
#include "displayapp/screens/BleIcon.h" #include "displayapp/screens/BleIcon.h"
#include "displayapp/screens/Symbols.h" #include "displayapp/screens/Symbols.h"
#include "displayapp/screens/NotificationIcon.h" #include "displayapp/screens/NotificationIcon.h"
#include "components/settings/Settings.h"
LV_IMG_DECLARE(bg_clock); LV_IMG_DECLARE(bg_clock);

View file

@ -5,7 +5,6 @@
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
#include "displayapp/screens/Screen.h" #include "displayapp/screens/Screen.h"
#include "displayapp/screens/ScreenList.h"
#include "components/datetime/DateTimeController.h" #include "components/datetime/DateTimeController.h"
#include "components/battery/BatteryController.h" #include "components/battery/BatteryController.h"
#include "components/ble/BleController.h" #include "components/ble/BleController.h"