forked from len0rd/rockbox
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:
parent
4d2e91d252
commit
d69573e314
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,7 @@ void lcd_stop_scroll(void)
|
||||||
static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
|
static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
|
||||||
struct viewport *othervp)
|
struct viewport *othervp)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
int y = (font_get(lines_vp->font)->height*line) + lines_vp->y;
|
int y = (font_get(lines_vp->font)->height*line) + lines_vp->y;
|
||||||
#else
|
#else
|
||||||
|
@ -99,6 +100,8 @@ static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
|
||||||
(othervp->x + othervp->width < lines_vp->x))
|
(othervp->x + othervp->width < lines_vp->x))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
#endif
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
/* Stop scrolling line y in the specified viewport, or all lines if y < 0 */
|
/* 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)
|
void lcd_scroll_stop_line(struct viewport* current_vp, int y)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue