diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd-remote.h | 4 | ||||
-rw-r--r-- | firmware/export/lcd.h | 4 | ||||
-rw-r--r-- | firmware/export/scroll_engine.h | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h index bc26a23cb7..1819a4de72 100644 --- a/firmware/export/lcd-remote.h +++ b/firmware/export/lcd-remote.h | |||
@@ -176,8 +176,8 @@ extern void lcd_remote_clear_viewport(void); | |||
176 | extern void lcd_remote_puts(int x, int y, const unsigned char *str); | 176 | extern void lcd_remote_puts(int x, int y, const unsigned char *str); |
177 | extern void lcd_remote_putsf(int x, int y, const unsigned char *fmt, ...); | 177 | extern void lcd_remote_putsf(int x, int y, const unsigned char *fmt, ...); |
178 | extern void lcd_remote_putc(int x, int y, unsigned short ch); | 178 | extern void lcd_remote_putc(int x, int y, unsigned short ch); |
179 | extern void lcd_remote_puts_scroll(int x, int y, const unsigned char *str); | 179 | extern bool lcd_remote_puts_scroll(int x, int y, const unsigned char *str); |
180 | extern void lcd_remote_putsxy_scroll_func(int x, int y, const unsigned char *string, | 180 | extern bool lcd_remote_putsxy_scroll_func(int x, int y, const unsigned char *string, |
181 | void (*scroll_func)(struct scrollinfo *), | 181 | void (*scroll_func)(struct scrollinfo *), |
182 | void *data, int x_offset); | 182 | void *data, int x_offset); |
183 | 183 | ||
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 87476d9dda..386ac5a8bf 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -179,8 +179,8 @@ extern void lcd_putsxy_style_offset(int x, int y, const unsigned char *str, | |||
179 | extern void lcd_puts(int x, int y, const unsigned char *string); | 179 | extern void lcd_puts(int x, int y, const unsigned char *string); |
180 | extern void lcd_putsf(int x, int y, const unsigned char *fmt, ...); | 180 | extern void lcd_putsf(int x, int y, const unsigned char *fmt, ...); |
181 | extern void lcd_putc(int x, int y, unsigned long ucs); | 181 | extern void lcd_putc(int x, int y, unsigned long ucs); |
182 | extern void lcd_puts_scroll(int x, int y, const unsigned char* string); | 182 | extern bool lcd_puts_scroll(int x, int y, const unsigned char* string); |
183 | extern void lcd_putsxy_scroll_func(int x, int y, const unsigned char *string, | 183 | extern bool lcd_putsxy_scroll_func(int x, int y, const unsigned char *string, |
184 | void (*scroll_func)(struct scrollinfo *), | 184 | void (*scroll_func)(struct scrollinfo *), |
185 | void *data, int x_offset); | 185 | void *data, int x_offset); |
186 | 186 | ||
diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h index 64e1d6d6ae..ce230a218c 100644 --- a/firmware/export/scroll_engine.h +++ b/firmware/export/scroll_engine.h | |||
@@ -79,7 +79,10 @@ struct scrollinfo | |||
79 | bool bidir; | 79 | bool bidir; |
80 | long start_tick; | 80 | long start_tick; |
81 | 81 | ||
82 | /* support for custom scrolling functions */ | 82 | /* support for custom scrolling functions, |
83 | * must be called with ::line == NULL to indicate that the line | ||
84 | * stops scrolling or when the userdata pointer is going to be changed | ||
85 | * (the custom scroller can release the userdata then) */ | ||
83 | void (*scroll_func)(struct scrollinfo *s); | 86 | void (*scroll_func)(struct scrollinfo *s); |
84 | void *userdata; | 87 | void *userdata; |
85 | }; | 88 | }; |