aboutsummaryrefslogtreecommitdiffstats
path: root/src/Components/Gfx/Gfx.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-02-15 15:12:29 +0100
committerJF <jf@codingfield.com>2020-02-15 15:12:29 +0100
commitf30573a9b0fd33290ce13807714d812086ce1398 (patch)
tree249fc3233227afd9da881bdf77392db6bd0c0647 /src/Components/Gfx/Gfx.h
parente737fb0499769fa342e4dc267416a7ce5da2574c (diff)
Add support for hardware assisted vertical scrolling.
Diffstat (limited to 'src/Components/Gfx/Gfx.h')
-rw-r--r--src/Components/Gfx/Gfx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Components/Gfx/Gfx.h b/src/Components/Gfx/Gfx.h
index f31b13c0..6d1d02fd 100644
--- a/src/Components/Gfx/Gfx.h
+++ b/src/Components/Gfx/Gfx.h
@@ -19,6 +19,9 @@ namespace Pinetime {
void DrawString(uint8_t x, uint8_t y, uint16_t color, const char* text, const FONT_INFO *p_font, bool wrap);
void DrawChar(const FONT_INFO *font, uint8_t c, uint8_t *x, uint8_t y, uint16_t color);
void FillRectangle(uint8_t x, uint8_t y, uint8_t width, uint8_t height, uint16_t color);
+ void SetScrollArea(uint16_t topFixedLines, uint16_t scrollLines, uint16_t bottomFixedLines);
+ void SetScrollStartLine(uint16_t line);
+
void Sleep();
void Wakeup();