summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/lcd-remote.h1
-rw-r--r--firmware/export/lcd.h1
-rw-r--r--firmware/scroll_engine.c30
3 files changed, 0 insertions, 32 deletions
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h
index 44f809a838..3be23747ea 100644
--- a/firmware/export/lcd-remote.h
+++ b/firmware/export/lcd-remote.h
@@ -166,7 +166,6 @@ extern void lcd_remote_bitmap(const fb_remote_data *src, int x, int y,
166 int width, int height); 166 int width, int height);
167extern void lcd_remote_putsxy(int x, int y, const unsigned char *str); 167extern void lcd_remote_putsxy(int x, int y, const unsigned char *str);
168 168
169extern void lcd_remote_invertscroll(int x, int y);
170extern void lcd_remote_bidir_scroll(int threshold); 169extern void lcd_remote_bidir_scroll(int threshold);
171extern void lcd_remote_scroll_step(int pixels); 170extern void lcd_remote_scroll_step(int pixels);
172 171
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index b64e506981..eedfc651c7 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -355,7 +355,6 @@ extern void lcd_bitmap_part(const fb_data *src, int src_x, int src_y,
355extern void lcd_bitmap(const fb_data *src, int x, int y, int width, 355extern void lcd_bitmap(const fb_data *src, int x, int y, int width,
356 int height); 356 int height);
357 357
358extern void lcd_invertscroll(int x, int y);
359extern void lcd_scroll_step(int pixels); 358extern void lcd_scroll_step(int pixels);
360 359
361#if LCD_DEPTH > 1 360#if LCD_DEPTH > 1
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c
index cb8585cbba..63ca8883de 100644
--- a/firmware/scroll_engine.c
+++ b/firmware/scroll_engine.c
@@ -88,21 +88,6 @@ void lcd_scroll_speed(int speed)
88} 88}
89 89
90#if defined(HAVE_LCD_BITMAP) 90#if defined(HAVE_LCD_BITMAP)
91/* Reverse the invert setting of the scrolling line (if any) at given char
92 position. Setting will go into affect next time line scrolls. */
93void lcd_invertscroll(int x, int y)
94{
95 struct scrollinfo *s;
96
97 (void)x;
98
99 if((unsigned)y>=LCD_SCROLLABLE_LINES) return;
100
101 s = &lcd_scroll_info.scroll[y];
102 s->style = !s->style; /* FIXME: now that the setting isn't bool this seems
103 flawed. */
104}
105
106void lcd_scroll_step(int step) 91void lcd_scroll_step(int step)
107{ 92{
108 lcd_scroll_info.step = step; 93 lcd_scroll_info.step = step;
@@ -132,21 +117,6 @@ void lcd_jump_scroll_delay(int ms)
132#endif 117#endif
133 118
134#ifdef HAVE_REMOTE_LCD 119#ifdef HAVE_REMOTE_LCD
135/* Reverse the invert setting of the scrolling line (if any) at given char
136 position. Setting will go into affect next time line scrolls. */
137void lcd_remote_invertscroll(int x, int y)
138{
139 struct scrollinfo *s;
140
141 (void)x;
142
143 if((unsigned)y>=LCD_REMOTE_SCROLLABLE_LINES) return;
144
145 s = &lcd_remote_scroll_info.scroll[y];
146 s->style = !s->style; /* FIXME: now that the setting isn't bool this seems
147 flawed. */
148}
149
150void lcd_remote_stop_scroll(void) 120void lcd_remote_stop_scroll(void)
151{ 121{
152 lcd_remote_scroll_info.lines = 0; 122 lcd_remote_scroll_info.lines = 0;