summaryrefslogtreecommitdiff
path: root/src/displayapp/DummyLittleVgl.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-05-21 09:38:38 (GMT)
committerGitea <gitea@fake.local>2021-05-21 09:38:38 (GMT)
commitde69905c0647997091d9e385538c96de30be93e6 (patch)
tree4775001d808da520c93a7552da1bea80e7714a30 /src/displayapp/DummyLittleVgl.h
parenta80e782f267cd2424d22da23d809c0c6a8ff8761 (diff)
parent7c9513be8a3bf36fda5706cb0fb1bd6232d42ffd (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/displayapp/DummyLittleVgl.h')
-rw-r--r--src/displayapp/DummyLittleVgl.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/src/displayapp/DummyLittleVgl.h b/src/displayapp/DummyLittleVgl.h
index 1c60911..96cf153 100644
--- a/src/displayapp/DummyLittleVgl.h
+++ b/src/displayapp/DummyLittleVgl.h
@@ -9,22 +9,25 @@
namespace Pinetime {
namespace Components {
class LittleVgl {
- public:
- enum class FullRefreshDirections { None, Up, Down };
- LittleVgl(Pinetime::Drivers::St7789& lcd, Pinetime::Drivers::Cst816S& touchPanel) {}
-
- LittleVgl(const LittleVgl&) = delete;
- LittleVgl& operator=(const LittleVgl&) = delete;
- LittleVgl(LittleVgl&&) = delete;
- LittleVgl& operator=(LittleVgl&&) = delete;
-
- void FlushDisplay(const lv_area_t * area, lv_color_t * color_p) {}
- bool GetTouchPadInfo(lv_indev_data_t *ptr) {return false;}
- void SetFullRefresh(FullRefreshDirections direction) {}
- void SetNewTapEvent(uint16_t x, uint16_t y) {}
+ public:
+ enum class FullRefreshDirections { None, Up, Down };
+ LittleVgl(Pinetime::Drivers::St7789& lcd, Pinetime::Drivers::Cst816S& touchPanel) {
+ }
+ LittleVgl(const LittleVgl&) = delete;
+ LittleVgl& operator=(const LittleVgl&) = delete;
+ LittleVgl(LittleVgl&&) = delete;
+ LittleVgl& operator=(LittleVgl&&) = delete;
+ void FlushDisplay(const lv_area_t* area, lv_color_t* color_p) {
+ }
+ bool GetTouchPadInfo(lv_indev_data_t* ptr) {
+ return false;
+ }
+ void SetFullRefresh(FullRefreshDirections direction) {
+ }
+ void SetNewTapEvent(uint16_t x, uint16_t y) {
+ }
};
}
}
-