1
0
Fork 0
forked from len0rd/rockbox

Corrected a small bug about status bar not refreshing the clock in menus on archos, added some H1x0 remote key bindings (thanks Stephan Wezel for the patch ! )

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7698 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kevin Ferrare 2005-10-31 18:38:48 +00:00
parent 65fe5f144d
commit b83dc3861e
5 changed files with 28 additions and 8 deletions

View file

@ -43,7 +43,6 @@
#ifdef HAVE_LCD_BITMAP
#include "icons.h"
//#include "widgets.h"
#endif
/* gui api */
@ -156,8 +155,13 @@ int menu_show(int m)
#endif
#ifdef MENU_RC_ENTER
case MENU_RC_ENTER:
#endif
#ifdef MENU_RC_ENTER2
case MENU_RC_ENTER2:
#endif
return gui_synclist_get_sel_pos(&(menus[m].synclist));
case MENU_EXIT:
#ifdef MENU_EXIT2
case MENU_EXIT2:
@ -168,7 +172,10 @@ int menu_show(int m)
#ifdef MENU_RC_EXIT
case MENU_RC_EXIT:
#endif
lcd_stop_scroll();
#ifdef MENU_RC_EXIT_MENU
case MENU_RC_EXIT_MENU:
#endif
//lcd_stop_scroll();
exit = true;
break;
@ -177,6 +184,7 @@ int menu_show(int m)
return MENU_ATTACHED_USB;
break;
}
gui_syncstatusbar_draw(&statusbars, false);
}
return MENU_SELECTED_EXIT;
}