|
|
@ -663,8 +663,9 @@ void lcdml_menu_control(void) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
encoderDir[ENC_L].ButtonShort(true); |
|
|
|
encoderDir[ENC_L].ButtonShort(true); |
|
|
|
inside_menu = false; |
|
|
|
inside_menu = false; |
|
|
|
if (LCDML.FUNC_getID() == VOLUME_MENU_ID) |
|
|
|
switch (LCDML.FUNC_getID()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
case VOLUME_MENU_ID: |
|
|
|
if (last_menu < 0xff && inside_menu == true) |
|
|
|
if (last_menu < 0xff && inside_menu == true) |
|
|
|
LCDML.OTHER_jumpToID(last_menu); |
|
|
|
LCDML.OTHER_jumpToID(last_menu); |
|
|
|
else |
|
|
|
else |
|
|
@ -672,13 +673,21 @@ void lcdml_menu_control(void) |
|
|
|
LCDML.OTHER_setCursorToID(last_cursor); |
|
|
|
LCDML.OTHER_setCursorToID(last_cursor); |
|
|
|
LCDML.DISP_update(); |
|
|
|
LCDML.DISP_update(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
else |
|
|
|
case PATCH_MENU_ID1: |
|
|
|
|
|
|
|
#if defined(PATCH_MENU_ID2) |
|
|
|
|
|
|
|
case PATCH_MENU_ID2: |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
if (last_cursor == 0) |
|
|
|
|
|
|
|
LCDML.MENU_goRoot(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
LCDML.BT_quit(); |
|
|
|
LCDML.BT_quit(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
/***********************************************************************
|
|
|
|
MENU DISPLAY |
|
|
|
MENU DISPLAY |
|
|
|