forked from len0rd/rockbox
Use the multi-screen api in the usb and time screens
usb screen forces the status bar to display (fixes FS#700) time screen is now usable on the lcd remotes (need keymaps for the m5/x5) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13903 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f22dd51956
commit
3d73b8eb16
2 changed files with 133 additions and 100 deletions
|
|
@ -710,6 +710,14 @@ static const struct button_mapping button_context_radio_h300lcdremote[] = {
|
|||
};
|
||||
|
||||
|
||||
static const struct button_mapping button_context_time_remote[] = {
|
||||
{ ACTION_STD_CANCEL, BUTTON_OFF, BUTTON_NONE },
|
||||
{ ACTION_STD_OK, BUTTON_ON, BUTTON_NONE },
|
||||
{ ACTION_SETTINGS_INC, BUTTON_RC_BITRATE, BUTTON_NONE },
|
||||
{ ACTION_SETTINGS_DEC, BUTTON_RC_SOURCE, BUTTON_NONE },
|
||||
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS),
|
||||
}; /* button_context_settings_bmark */
|
||||
|
||||
/* the actual used tables */
|
||||
static const struct button_mapping
|
||||
*remote_btn_ctxt_std = 0,
|
||||
|
|
@ -878,7 +886,9 @@ static const struct button_mapping* get_context_mapping_remote(int context)
|
|||
return remote_btn_ctxt_listtree_scroll_w_cmb;
|
||||
case CONTEXT_CUSTOM|CONTEXT_TREE:
|
||||
return remote_btn_ctxt_tree;
|
||||
|
||||
case CONTEXT_SETTINGS_TIME:
|
||||
return remote_btn_ctxt_settingsgrph;
|
||||
|
||||
case CONTEXT_SETTINGS:
|
||||
return remote_btn_ctxt_settings;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue