summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h8
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];