InfiniTime.git

ref: 499f0875d35970d8040152405a774511e9aed884

src/displayapp/screens/Error.h


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "displayapp/screens/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;
      };
    }
  }
}