aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Error.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-10-10 16:48:45 +0200
committerJean-François Milants <jf@codingfield.com>2021-10-10 16:48:45 +0200
commit6d0e68d6260044dcce09ebf879a48e314987f808 (patch)
treeef9f0325f56fb22f7ce4a79321b61ad5da415a46 /src/displayapp/screens/Error.h
parent92aeae73dee5bb16f669806621a9b735f2b0ce07 (diff)
parentf61e88b8425f9edcd38e47027df62dcc56c83adc (diff)
Merge branch 'update_touch_driver' of git://github.com/Riksu9000/InfiniTime into Riksu9000-update_touch_driver
# Conflicts: # src/displayapp/Apps.h
Diffstat (limited to 'src/displayapp/screens/Error.h')
-rw-r--r--src/displayapp/screens/Error.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/displayapp/screens/Error.h b/src/displayapp/screens/Error.h
new file mode 100644
index 00000000..20dde7ee
--- /dev/null
+++ b/src/displayapp/screens/Error.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "Screen.h"
+#include "BootErrors.h"
+#include <lvgl/lvgl.h>
+
+namespace Pinetime {
+ namespace Applications {
+ namespace Screens {
+ class Error : public Screen {
+ public:
+ Error(DisplayApp* app, System::BootErrors error);
+ ~Error() override;
+
+ void ButtonEventHandler();
+ private:
+ lv_obj_t* btnOk;
+ };
+ }
+ }
+}