diff options
| author | Avamander <avamander@gmail.com> | 2020-10-02 18:49:55 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2020-10-02 18:49:55 (GMT) |
| commit | 4daab2692692d47af24a9384eb0f402821527882 (patch) | |
| tree | bc525f6fc2ea8a378ac4e6fba729c956f7dc1d66 /src/displayapp/Screens/InfiniPaint.h | |
| parent | e3fb2f0b8974f3e9a124d27f4b568e754ccfb782 (diff) | |
Renamed displayapp/Screens to displayapp/screens
Diffstat (limited to 'src/displayapp/Screens/InfiniPaint.h')
| -rw-r--r-- | src/displayapp/Screens/InfiniPaint.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/displayapp/Screens/InfiniPaint.h b/src/displayapp/Screens/InfiniPaint.h deleted file mode 100644 index a1592f9..0000000 --- a/src/displayapp/Screens/InfiniPaint.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -#include <cstdint> -#include "Screen.h" -#include <bits/unique_ptr.h> -#include <libs/lvgl/src/lv_core/lv_style.h> -#include <libs/lvgl/src/lv_core/lv_obj.h> -#include <drivers/St7789.h> -#include <DisplayApp/LittleVgl.h> - -namespace Pinetime { - namespace Applications { - namespace Screens { - - class InfiniPaint : public Screen{ - public: - InfiniPaint(DisplayApp* app, Pinetime::Components::LittleVgl& lvgl); - ~InfiniPaint() override; - - bool Refresh() override; - bool OnButtonPushed() override; - bool OnTouchEvent(TouchEvents event) override; - bool OnTouchEvent(uint16_t x, uint16_t y) override; - - private: - Pinetime::Components::LittleVgl& lvgl; - static constexpr uint16_t width = 10; - static constexpr uint16_t height = 10; - static constexpr uint16_t bufferSize = width*height; - lv_color_t b[bufferSize]; - bool running = true; - }; - } - } -} |
