Added lcd_scroll_pause/resume

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Justin Heiner 2002-08-09 19:17:14 +00:00
parent 5853ef3738
commit 2a5712238b
2 changed files with 12 additions and 0 deletions

View file

@ -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;

View file

@ -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);