From 6f942e20ed5881e0b520f4c4f0f1fd2ffb4a3a2b Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sat, 25 Feb 2023 13:29:07 +0200 Subject: LittleVgl: Instantiate in DisplayApp LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be implemented without LVGL. DummyLittleVgl isn't needed anymore and has been removed --- src/displayapp/DummyLittleVgl.h | 42 ----------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 src/displayapp/DummyLittleVgl.h (limited to 'src/displayapp/DummyLittleVgl.h') diff --git a/src/displayapp/DummyLittleVgl.h b/src/displayapp/DummyLittleVgl.h deleted file mode 100644 index 268705da..00000000 --- a/src/displayapp/DummyLittleVgl.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include -#include -#include -#include - -namespace Pinetime { - namespace Components { - class LittleVgl { - public: - enum class FullRefreshDirections { None, Up, Down }; - - LittleVgl(Pinetime::Drivers::St7789& lcd) { - } - - LittleVgl(const LittleVgl&) = delete; - LittleVgl& operator=(const LittleVgl&) = delete; - LittleVgl(LittleVgl&&) = delete; - LittleVgl& operator=(LittleVgl&&) = delete; - - void Init() { - } - - 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) { - } - - void SetNewTouchPoint(uint16_t x, uint16_t y, bool contact) { - } - }; - } -} -- cgit v1.2.3-70-g09d2