aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/LittleVgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/LittleVgl.h')
-rw-r--r--src/displayapp/LittleVgl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/LittleVgl.h b/src/displayapp/LittleVgl.h
index 45826165..7bd0198c 100644
--- a/src/displayapp/LittleVgl.h
+++ b/src/displayapp/LittleVgl.h
@@ -37,7 +37,6 @@ namespace Pinetime {
private:
void InitDisplay();
void InitTouchpad();
- void InitTheme();
Pinetime::Drivers::St7789& lcd;
Pinetime::Drivers::Cst816S& touchPanel;
@@ -52,9 +51,11 @@ namespace Pinetime {
static constexpr uint8_t nbWriteLines = 4;
static constexpr uint16_t totalNbLines = 320;
static constexpr uint16_t visibleNbLines = 240;
+
static constexpr uint8_t MaxScrollOffset() {
return LV_VER_RES_MAX - nbWriteLines;
}
+
FullRefreshDirections scrollDirection = FullRefreshDirections::None;
uint16_t writeOffset = 0;
uint16_t scrollOffset = 0;