From cadc0c25d4f20653689c019b372a6822624c41b0 Mon Sep 17 00:00:00 2001 From: okaestne Date: Sun, 15 Nov 2020 16:49:36 +0100 Subject: Include cleanup: displayapp + screens --- src/displayapp/screens/Tab.cpp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/displayapp/screens/Tab.cpp') 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 -#include -#include "components/datetime/DateTimeController.h" +#include "Tab.h" #include -#include -#include -#include #include -#include "Tab.h" -#include "displayapp/DisplayApp.h" - +#include +#include +#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); -- cgit v1.2.3