aboutsummaryrefslogtreecommitdiffstats
path: root/glcd/worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'glcd/worker.h')
-rw-r--r--glcd/worker.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/glcd/worker.h b/glcd/worker.h
index d08cae9d..53d3c09f 100644
--- a/glcd/worker.h
+++ b/glcd/worker.h
@@ -14,6 +14,7 @@ enum glcd_action { GLCD_SET_POWERMODE,
GLCD_WRITE_STREAM_START,
GLCD_WRITE_STREAM_STOP,
GLCD_WRITE_STREAM,
+ GLCD_VERTICAL_SCROLL,
};
enum glcd_result { GLCD_DONE,
@@ -108,5 +109,15 @@ struct glcd_msg_write_stream {
uint16_t size;
};
+struct glcd_msg_vertical_scroll {
+ _glcd_msg_base
+
+ uint16_t x0;
+ uint16_t y0;
+ uint16_t x1;
+ uint16_t y1;
+ int16_t lines;
+};
+
#endif