summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Tab.h
diff options
context:
space:
mode:
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;
};
}
}