forked from len0rd/rockbox
Patch by Jonathan Gordon for bug report FS#4861 - map Select (Navi) to save the settings in the color picker in addition to Play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9143 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c00ec11598
commit
b81f596486
1 changed files with 18 additions and 14 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
#define SLIDER_LEFT BUTTON_LEFT
|
#define SLIDER_LEFT BUTTON_LEFT
|
||||||
#define SLIDER_RIGHT BUTTON_RIGHT
|
#define SLIDER_RIGHT BUTTON_RIGHT
|
||||||
#define SLIDER_OK BUTTON_ON
|
#define SLIDER_OK BUTTON_ON
|
||||||
|
#define SLIDER_OK2 BUTTON_SELECT
|
||||||
#define SLIDER_CANCEL BUTTON_OFF
|
#define SLIDER_CANCEL BUTTON_OFF
|
||||||
|
|
||||||
#define SLIDER_RC_UP BUTTON_RC_REW
|
#define SLIDER_RC_UP BUTTON_RC_REW
|
||||||
|
|
@ -254,6 +255,9 @@ bool set_color(struct screen *display,char *title, int* color, int banned_color)
|
||||||
case SLIDER_OK:
|
case SLIDER_OK:
|
||||||
#ifdef HAVE_LCD_REMOTE
|
#ifdef HAVE_LCD_REMOTE
|
||||||
case SLIDER_RC_OK:
|
case SLIDER_RC_OK:
|
||||||
|
#endif
|
||||||
|
#ifdef SLIDER_OK2
|
||||||
|
case SLIDER_OK2:
|
||||||
#endif
|
#endif
|
||||||
if ((banned_color!=-1) && (banned_color == newcolor))
|
if ((banned_color!=-1) && (banned_color == newcolor))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue