diff options
| author | okaestne <git@oliver-kaestner.de> | 2020-11-15 15:49:36 (GMT) |
|---|---|---|
| committer | okaestne <git@oliver-kaestner.de> | 2020-11-16 00:35:51 (GMT) |
| commit | cadc0c25d4f20653689c019b372a6822624c41b0 (patch) | |
| tree | 02c4ab4b9ac19d4b4f5d1f5998736dcb8368b762 /src/displayapp/screens/InfiniPaint.h | |
| parent | 1516573df46239ea76b7a8b142a6b719668cb26d (diff) | |
Include cleanup: displayapp + screens
Diffstat (limited to 'src/displayapp/screens/InfiniPaint.h')
| -rw-r--r-- | src/displayapp/screens/InfiniPaint.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/displayapp/screens/InfiniPaint.h b/src/displayapp/screens/InfiniPaint.h index f29135d..9a7ac07 100644 --- a/src/displayapp/screens/InfiniPaint.h +++ b/src/displayapp/screens/InfiniPaint.h @@ -1,31 +1,30 @@ #pragma once +#include <lvgl/lvgl.h> #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 Components { + class LittleVgl; + } 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; |
