aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Tab.h
diff options
context:
space:
mode:
authorokaestne <git@oliver-kaestner.de>2020-11-15 16:49:36 +0100
committerokaestne <git@oliver-kaestner.de>2020-11-16 01:35:51 +0100
commitcadc0c25d4f20653689c019b372a6822624c41b0 (patch)
tree02c4ab4b9ac19d4b4f5d1f5998736dcb8368b762 /src/displayapp/screens/Tab.h
parent1516573df46239ea76b7a8b142a6b719668cb26d (diff)
Include cleanup: displayapp + screens
Diffstat (limited to 'src/displayapp/screens/Tab.h')
-rw-r--r--src/displayapp/screens/Tab.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/displayapp/screens/Tab.h b/src/displayapp/screens/Tab.h
index e16dbb96..10661295 100644
--- a/src/displayapp/screens/Tab.h
+++ b/src/displayapp/screens/Tab.h
@@ -1,22 +1,24 @@
#pragma once
-#include <cstdint>
#include "Screen.h"
-#include <bits/unique_ptr.h>
#include <lvgl/src/lv_core/lv_style.h>
+#include <lvgl/src/lv_core/lv_obj.h>
namespace Pinetime {
+ namespace Components {
+ class Gfx;
+ }
namespace Applications {
namespace Screens {
class Tab : public Screen {
public:
explicit Tab(DisplayApp* app, Components::Gfx& gfx);
~Tab() override;
- void Refresh(bool fullRefresh) override;
+ void Refresh(bool fullRefresh);
void OnObjectEvent(lv_obj_t* obj, lv_event_t event);
- private:
-
+ protected:
+ Components::Gfx& gfx;
};
}
}