Add configurable offset to SPI screen

This commit is contained in:
Kevincoooool
2024-11-30 19:00:05 +08:00
parent 5e7c5da337
commit 43a0cbeebc
5 changed files with 167 additions and 35 deletions

View File

@@ -24,6 +24,8 @@ public:
protected:
int width_ = 0;
int height_ = 0;
int offset_x_ = 0;
int offset_y_ = 0;
lv_disp_t *disp_ = nullptr;