diff options
author | Kjell Ericson <kjell@haxx.se> | 2003-01-23 14:28:16 +0000 |
---|---|---|
committer | Kjell Ericson <kjell@haxx.se> | 2003-01-23 14:28:16 +0000 |
commit | 767d604bcd839ef996aad8b9ab1e394aca26a95c (patch) | |
tree | 7fabc73bcb938d8cc02bbfbfd20d9a3cb31a5d74 /apps/menu.c | |
parent | f5d9584eacc2eeaea7665169a12df4055c5d1de1 (diff) |
Removed unnecessary calls to lcd_stop_scroll().
Changed all lcd_scroll_pause() to lcd_stop_scroll().
Updated the tree system for new scroll-behaviour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/menu.c b/apps/menu.c index b38821e9e9..9cedbebed8 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -134,7 +134,6 @@ static void menu_draw(int m) int menu_lines = MENU_LINES; #endif - lcd_scroll_pause(); /* halt scroll first... */ lcd_clear_display(); /* ...then clean the screen */ #ifdef HAVE_LCD_BITMAP lcd_setmargins(MARGIN_X,MARGIN_Y); /* leave room for cursor and icon */ @@ -289,14 +288,12 @@ bool menu_run(int m) #endif case BUTTON_PLAY: /* Erase current display state */ - lcd_scroll_pause(); /* pause is better than stop when - are gonna clear the screen anyway */ lcd_clear_display(); /* if a child returns that USB was used, we return immediately */ if (menus[m].items[menus[m].cursor].function()) { - lcd_scroll_pause(); /* just in case */ + lcd_stop_scroll(); /* just in case */ return true; } @@ -311,7 +308,7 @@ bool menu_run(int m) case BUTTON_STOP: case BUTTON_MENU: #endif - lcd_scroll_pause(); + lcd_stop_scroll(); exit = true; break; |