diff options
| author | Avamander <avamander@gmail.com> | 2020-10-02 21:46:41 +0300 |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2020-10-02 21:46:41 +0300 |
| commit | e3fb2f0b8974f3e9a124d27f4b568e754ccfb782 (patch) | |
| tree | bc43f58bca6920bfb5a78f3cf26d0ec5e8c0d5a0 /src/DisplayApp/Screens/Tile.h | |
| parent | 30c261028e27dab0e30aec19b9c21c37cc74e92b (diff) | |
Renamed DisplayApp/ to displayapp/
Diffstat (limited to 'src/DisplayApp/Screens/Tile.h')
| -rw-r--r-- | src/DisplayApp/Screens/Tile.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/DisplayApp/Screens/Tile.h b/src/DisplayApp/Screens/Tile.h deleted file mode 100644 index 3136d892..00000000 --- a/src/DisplayApp/Screens/Tile.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once - -#include <cstdint> -#include "Screen.h" -#include <bits/unique_ptr.h> -#include "Modal.h" -#include <lvgl/src/lv_core/lv_style.h> -#include <DisplayApp/Apps.h> - -namespace Pinetime { - namespace Applications { - namespace Screens { - class Tile : public Screen { - public: - struct Applications { - const char* icon; - Pinetime::Applications::Apps application; - }; - - explicit Tile(DisplayApp* app, std::array<Applications, 6>& applications); - ~Tile() override; - - bool Refresh() override; - bool OnButtonPushed() override; - - void OnObjectEvent(lv_obj_t* obj, lv_event_t event, uint32_t buttonId); - - private: - lv_obj_t * btnm1; - bool running = true; - - std::unique_ptr<Modal> modal; - - const char* btnm_map1[8]; - Pinetime::Applications::Apps apps[6]; - }; - } - } -} |
