summaryrefslogtreecommitdiffstats
path: root/firmware/scroll_engine.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-07-02 10:03:53 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-07-02 10:03:53 +0000
commitd69573e314a2524774a0dd7b0478c90c56c58546 (patch)
tree20996f854c33920583cb834ad9a4e780692134cb /firmware/scroll_engine.c
parent4d2e91d252060de993fd9ef0359060913e543a37 (diff)
downloadrockbox-d69573e314a2524774a0dd7b0478c90c56c58546.tar.gz
rockbox-d69573e314a2524774a0dd7b0478c90c56c58546.tar.bz2
rockbox-d69573e314a2524774a0dd7b0478c90c56c58546.zip
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
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r--firmware/scroll_engine.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c
index 2b99c14daa..0b3de6f84a 100644
--- a/firmware/scroll_engine.c
+++ b/firmware/scroll_engine.c
@@ -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)