diff options
Diffstat (limited to 'firmware/drivers/lcd-player.c')
-rw-r--r-- | firmware/drivers/lcd-player.c | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c index 189cb0e899..1333a152f4 100644 --- a/firmware/drivers/lcd-player.c +++ b/firmware/drivers/lcd-player.c @@ -506,65 +506,6 @@ void lcd_stop_scroll(void) lcd_update(); } -void lcd_stop_scroll_line(int line) -{ - struct scrollinfo* s; - - s = &scroll[line]; - if ( s->mode == SCROLL_MODE_RUN || - s->mode == SCROLL_MODE_PAUSE ) { - /* restore scrolled row */ - lcd_puts(s->startx, s->starty, s->text); - } - - lcd_update(); -} - -void lcd_scroll_pause(void) -{ - struct scrollinfo* s; - int index; - - for ( index = 0; index < SCROLLABLE_LINES; index++ ) { - s = &scroll[index]; - if ( s->mode == SCROLL_MODE_RUN ) { - s->mode = SCROLL_MODE_PAUSE; - } - } -} - -void lcd_scroll_pause_line(int line) -{ - struct scrollinfo* s; - - s = &scroll[line]; - if ( s->mode == SCROLL_MODE_RUN ) { - s->mode = SCROLL_MODE_PAUSE; - } -} - -void lcd_scroll_resume(void) -{ - struct scrollinfo* s; - int index; - - for ( index = 0; index < SCROLLABLE_LINES; index++ ) { - s = &scroll[index]; - if ( s->mode == SCROLL_MODE_PAUSE ) { - s->mode = SCROLL_MODE_RUN; - } - } -} - -void lcd_scroll_resume_line(int line) -{ - struct scrollinfo* s; - - s = &scroll[line]; - if (s->mode == SCROLL_MODE_PAUSE ) { - s->mode = SCROLL_MODE_RUN; - } -} void lcd_allow_bidirectional_scrolling(bool on) { |