diff options
author | okaestne <git@oliver-kaestner.de> | 2020-11-15 16:49:36 +0100 |
---|---|---|
committer | okaestne <git@oliver-kaestner.de> | 2020-11-16 01:35:51 +0100 |
commit | cadc0c25d4f20653689c019b372a6822624c41b0 (patch) | |
tree | 02c4ab4b9ac19d4b4f5d1f5998736dcb8368b762 /src/displayapp/screens/Tab.cpp | |
parent | 1516573df46239ea76b7a8b142a6b719668cb26d (diff) |
Include cleanup: displayapp + screens
Diffstat (limited to 'src/displayapp/screens/Tab.cpp')
-rw-r--r-- | src/displayapp/screens/Tab.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/displayapp/screens/Tab.cpp b/src/displayapp/screens/Tab.cpp index 44b806c0..7d7697b9 100644 --- a/src/displayapp/screens/Tab.cpp +++ b/src/displayapp/screens/Tab.cpp @@ -1,14 +1,11 @@ -#include <cstdio> -#include <libs/date/includes/date/date.h> -#include "components/datetime/DateTimeController.h" +#include "Tab.h" #include <Version.h> -#include <libs/lvgl/src/lv_core/lv_obj.h> -#include <libs/lvgl/src/lv_font/lv_font.h> -#include <libs/lvgl/lvgl.h> #include <libraries/log/nrf_log.h> -#include "Tab.h" -#include "displayapp/DisplayApp.h" - +#include <date/date.h> +#include <lvgl/lvgl.h> +#include "../DisplayApp.h" +#include "components/datetime/DateTimeController.h" +#include "components/gfx/Gfx.h" using namespace Pinetime::Applications::Screens; @@ -19,7 +16,7 @@ extern lv_font_t jetbrains_mono_bold_20; // screen->OnObjectEvent(obj, event); //} -Tab::Tab(DisplayApp* app, Pinetime::Components::Gfx &gfx) : Screen(app, gfx) { +Tab::Tab(DisplayApp* app, Pinetime::Components::Gfx &gfx) : Screen(app), gfx(gfx) { /*Create a Tab view object*/ lv_obj_t *tabview; tabview = lv_tabview_create(lv_scr_act(), NULL); |