summaryrefslogtreecommitdiff
path: root/firmware
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
parent4d2e91d252060de993fd9ef0359060913e543a37 (diff)
downloadrockbox-d69573e314a2524774a0dd7b0478c90c56c58546.tar.gz
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')
-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)
88static bool line_overlaps_viewport(struct viewport *lines_vp, int line, 88static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
89 struct viewport *othervp) 89 struct viewport *othervp)
90{ 90{
91#if 0
91#ifdef HAVE_LCD_BITMAP 92#ifdef HAVE_LCD_BITMAP
92 int y = (font_get(lines_vp->font)->height*line) + lines_vp->y; 93 int y = (font_get(lines_vp->font)->height*line) + lines_vp->y;
93#else 94#else
@@ -99,6 +100,8 @@ static bool line_overlaps_viewport(struct viewport *lines_vp, int line,
99 (othervp->x + othervp->width < lines_vp->x)) 100 (othervp->x + othervp->width < lines_vp->x))
100 return false; 101 return false;
101 return true; 102 return true;
103#endif
104 return false;
102} 105}
103/* Stop scrolling line y in the specified viewport, or all lines if y < 0 */ 106/* Stop scrolling line y in the specified viewport, or all lines if y < 0 */
104void lcd_scroll_stop_line(struct viewport* current_vp, int y) 107void lcd_scroll_stop_line(struct viewport* current_vp, int y)