1
0
Fork 0
forked from len0rd/rockbox

Remove the "invert scroll" code since it's not used anywhere anymore (and it was broken on color targets with gradients anyway). Closes FS #7875.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Antoine Cellerier 2007-10-15 20:42:51 +00:00
parent 2490700867
commit d66b3c0f61
9 changed files with 1 additions and 85 deletions

View file

@ -88,21 +88,6 @@ void lcd_scroll_speed(int speed)
}
#if defined(HAVE_LCD_BITMAP)
/* Reverse the invert setting of the scrolling line (if any) at given char
position. Setting will go into affect next time line scrolls. */
void lcd_invertscroll(int x, int y)
{
struct scrollinfo *s;
(void)x;
if((unsigned)y>=LCD_SCROLLABLE_LINES) return;
s = &lcd_scroll_info.scroll[y];
s->style = !s->style; /* FIXME: now that the setting isn't bool this seems
flawed. */
}
void lcd_scroll_step(int step)
{
lcd_scroll_info.step = step;
@ -132,21 +117,6 @@ void lcd_jump_scroll_delay(int ms)
#endif
#ifdef HAVE_REMOTE_LCD
/* Reverse the invert setting of the scrolling line (if any) at given char
position. Setting will go into affect next time line scrolls. */
void lcd_remote_invertscroll(int x, int y)
{
struct scrollinfo *s;
(void)x;
if((unsigned)y>=LCD_REMOTE_SCROLLABLE_LINES) return;
s = &lcd_remote_scroll_info.scroll[y];
s->style = !s->style; /* FIXME: now that the setting isn't bool this seems
flawed. */
}
void lcd_remote_stop_scroll(void)
{
lcd_remote_scroll_info.lines = 0;