diff options
author | Justin Heiner <jheiner@rockbox.org> | 2002-08-09 19:17:14 +0000 |
---|---|---|
committer | Justin Heiner <jheiner@rockbox.org> | 2002-08-09 19:17:14 +0000 |
commit | 2a5712238b039bc3a5e41d988900b30d3bd608b0 (patch) | |
tree | 965602ccd071dfee1f71575986a6e35623f076d9 | |
parent | 5853ef3738d61c97d042b285ab3601d140ebc325 (diff) |
Added lcd_scroll_pause/resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1649 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd.c | 10 | ||||
-rw-r--r-- | firmware/drivers/lcd.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index c343561543..a9cd8c65ac 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -1159,6 +1159,16 @@ void lcd_stop_scroll(void) } } +void lcd_scroll_pause(void) +{ + scroll_count = 0; +} + +void lcd_scroll_resume(void) +{ + scroll_count = 1; +} + void lcd_scroll_speed(int speed) { scroll_speed = speed; diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 21e1275284..bc971dc117 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -29,6 +29,8 @@ extern void lcd_init(void); extern void lcd_clear_display(void); extern void lcd_backlight(bool on); extern void lcd_puts(int x, int y, unsigned char *string); +extern void lcd_scroll_pause(void); +extern void lcd_scroll_resume(void); extern void lcd_puts_scroll(int x, int y, unsigned char* string ); extern void lcd_icon(int icon, bool enable); extern void lcd_stop_scroll(void); |