Menu rework is done.

pull/32/head
Holger Wirtz 5 years ago
parent 4409e50503
commit fddbe63028
  1. 15
      UI.hpp

@ -663,8 +663,9 @@ void lcdml_menu_control(void)
#endif
encoderDir[ENC_L].ButtonShort(true);
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)
LCDML.OTHER_jumpToID(last_menu);
else
@ -672,12 +673,20 @@ void lcdml_menu_control(void)
LCDML.OTHER_setCursorToID(last_cursor);
LCDML.DISP_update();
}
}
else
break;
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();
}
}
}
}
}
/***********************************************************************

Loading…
Cancel
Save