going out for a while and dont want to leave it partially broken.. ill re-enable this code later tonight/tomorow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17915 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-07-02 10:03:53 +00:00
parent 4d2e91d252
commit d69573e314

View file

@ -88,6 +88,7 @@ void lcd_stop_scroll(void)
static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
struct viewport *othervp)
{
#if 0
#ifdef HAVE_LCD_BITMAP
int y = (font_get(lines_vp->font)->height*line) + lines_vp->y;
#else
@ -99,6 +100,8 @@ static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
(othervp->x + othervp->width < lines_vp->x))
return false;
return true;
#endif
return false;
}
/* Stop scrolling line y in the specified viewport, or all lines if y < 0 */
void lcd_scroll_stop_line(struct viewport* current_vp, int y)