diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-12-12 15:20:37 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-12-12 15:20:37 +0000 |
commit | a2e98c1cd926efdbfd0fd9f43005068b7684efbe (patch) | |
tree | 66185d3ff83eac6daa66fd9ba0cfe4f464fa19f8 /firmware/drivers/lcd.h | |
parent | 2950f6c1e72cf7d600dc03b8cdec162aa5ba4676 (diff) |
Merged Uwe Freese's bidirectional scrolling patch. Added configurable scroll step size and scroll start delay.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2974 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd.h')
-rw-r--r-- | firmware/drivers/lcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index d5621881fb..5e1d8f4d07 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -39,6 +39,7 @@ extern void lcd_icon(int icon, bool enable); extern void lcd_stop_scroll(void); extern void lcd_stop_scroll_line(int line); extern void lcd_scroll_speed( int speed ); +extern void lcd_scroll_delay( int ms ); extern void lcd_set_contrast(int val); extern void lcd_write( bool command, int byte ); @@ -121,9 +122,12 @@ extern void lcd_clearpixel(int x, int y); extern void lcd_invertpixel(int x, int y); extern void lcd_roll(int pixels); +extern void lcd_bidir_scroll(int threshold); +extern void lcd_scroll_step(int pixels); extern void lcd_setfont(int font); extern void lcd_putsxy(int x, int y, unsigned char *string); extern int lcd_getstringsize(unsigned char *str, int *w, int *h); +extern int lcd_getstringsize(unsigned char *str, int *w, int *h); #endif /* CHARCELLS / BITMAP */ |