summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DisplayApp/Screens/Screen.h')
-rw-r--r--src/DisplayApp/Screens/Screen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/DisplayApp/Screens/Screen.h b/src/DisplayApp/Screens/Screen.h
new file mode 100644
index 00000000..5e2fa43e
--- /dev/null
+++ b/src/DisplayApp/Screens/Screen.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <Components/Gfx/Gfx.h>
+
+namespace Pinetime {
+ namespace Applications {
+ namespace Screens {
+ class Screen {
+ public:
+ Screen(Components::Gfx& gfx) : gfx{gfx} {}
+ virtual void Refresh(bool fullRefresh) = 0;
+
+ protected:
+ Components::Gfx& gfx;
+ };
+ }
+ }
+}