From 58fc279d2674b5d56fed6772f82cdf1e431088f1 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 28 Jul 2007 08:12:05 +0000 Subject: Scroll on main and remote with a single thread. Change the way system messages are defined before running out is an issue (which requires a full update of rockbox on the player). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/lcd.h | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'firmware/export/lcd.h') diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 8f01ef5cab..608f9ffa0f 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -312,6 +312,7 @@ extern void lcd_set_flip(bool yesno); extern void lcd_set_drawmode(int mode); extern int lcd_get_drawmode(void); extern void lcd_setfont(int font); +extern int lcd_getfont(void); extern void lcd_puts_style_offset(int x, int y, const unsigned char *str, int style, int offset); @@ -376,29 +377,4 @@ extern void lcd_bitmap_transparent(const fb_data *src, int x, int y, #endif /* HAVE_LCD_BITMAP */ -/* internal usage, but in multiple drivers */ -#define SCROLL_SPACING 3 -#ifdef HAVE_LCD_BITMAP -#define SCROLL_LINE_SIZE (MAX_PATH + SCROLL_SPACING + 3*LCD_WIDTH/2 + 2) -#else -#define SCROLL_LINE_SIZE (MAX_PATH + SCROLL_SPACING + 3*LCD_WIDTH + 2) -#endif - -struct scrollinfo { - char line[SCROLL_LINE_SIZE]; - int len; /* length of line in chars */ - int offset; - int startx; -#ifdef HAVE_LCD_BITMAP - int width; /* length of line in pixels */ - bool invert; /* invert the scrolled text */ -#endif - bool backward; /* scroll presently forward or backward? */ - bool bidir; - long start_tick; -#ifdef HAVE_LCD_COLOR - int line_colour; -#endif -}; - #endif /* __LCD_H__ */ -- cgit v1.2.3