diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-27 13:00:12 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-27 13:00:12 +0100 |
commit | 420cb4b1b01166739d57d37c3b95e6b6391555d7 (patch) | |
tree | 67fb47aafd7d23372e646699e3d58c2b91dbc9f1 /src/display.h | |
parent | ce235210b76332493ee5c78bded63fb5b69ff6d3 (diff) |
read scroll speed from text struct
Diffstat (limited to 'src/display.h')
-rw-r--r-- | src/display.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/display.h b/src/display.h index 8687874..70939ca 100644 --- a/src/display.h +++ b/src/display.h @@ -5,8 +5,9 @@ #include <stdlib.h> struct __text { - uint8_t speed_delay; - uint8_t direction_reserved; + uint8_t speed; + uint8_t delay; + uint8_t direction; uint8_t *str; }; @@ -21,7 +22,8 @@ typedef struct __animation animation_t; class Display { private: - uint16_t update_delay; + text_t active_text; + animation_t active_anim; uint8_t need_update; uint8_t active_col; uint8_t disp_buf[8]; |