diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-18 12:23:30 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-18 12:23:30 (GMT) |
| commit | 780a811f0559a9abd000f36d3fe49cbbb233b632 (patch) | |
| tree | 9dca2951bc08a8d8a9f1f81d02f505682e652f69 /src/displayapp/screens/Error.h | |
| parent | 9c175e2f0cd90b56818953b748c8cad3eec2eb89 (diff) | |
Automatic error detection
Diffstat (limited to 'src/displayapp/screens/Error.h')
| -rw-r--r-- | src/displayapp/screens/Error.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/displayapp/screens/Error.h b/src/displayapp/screens/Error.h new file mode 100644 index 0000000..58016d8 --- /dev/null +++ b/src/displayapp/screens/Error.h @@ -0,0 +1,22 @@ +#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; + + bool Refresh() override; + void ButtonEventHandler(); + private: + lv_obj_t* btnOk; + }; + } + } +} |
