Commit 9937a952 authored by hu's avatar hu

胎压未配置时,相关界面不可选中,变灰

parent f4d8e204
......@@ -64,6 +64,11 @@ void Key_Operation_Up(Key_Event_en_t enKeyEvent)
{
NextMenu(_MN_DSP_LEVEL2MENU_4);
}
/*TPMS轮胎设定*/
else if ((bCurMenuIDX == _MN_DSP_LEVEL2_4_MENU_6) && (K_Line_Set.K_Line_LID3E != 0x01u))
{
NextMenu(_MN_DSP_LEVEL2_4_MENU_4);
}
else
{
NextMenu(MenuOptTab[bCurMenuIDX].VK_IDX_UP);
......@@ -553,7 +558,24 @@ void Key_Operation_Down(Key_Event_en_t enKeyEvent)
/*系统演示模式*/
if ((bCurMenuIDX == _MN_DSP_LEVEL2MENU_4) && (K_Line_Set.K_Line_LID27 != 0x01u) && (K_Line_Set.K_Line_LID28 != 0x01u))
{
NextMenu(_MN_DSP_LEVEL2MENU_6);
if (K_Line_Set.K_Line_LID3E == 0x01u)
{
NextMenu(_MN_DSP_LEVEL2MENU_6);
}
else
{
;/*Do Notingh!*/
}
}
/*轮胎状态显示*/
else if ((bCurMenuIDX == _MN_DSP_LEVEL2MENU_5) && (K_Line_Set.K_Line_LID3E != 0x01u))
{
;/*Do Notingh!*/
}
/*TPMS轮胎设定*/
else if ((bCurMenuIDX == _MN_DSP_LEVEL2_4_MENU_4) && (K_Line_Set.K_Line_LID3E != 0x01u))
{
NextMenu(_MN_DSP_LEVEL2_4_MENU_6);
}
else
{
......
......@@ -2946,7 +2946,14 @@ void GUI_BG_UserSet_Menu_Display(uint8_t Mode)
{
GUI_Translate_Display(MENU_Sprite, (CN_User_Menu2_04_7black + State_Flag.USER_LANGUAGE), 225u, GUI_DISP_MENU_Y[0u], GUI_BLENDMODE_SRC_OVER);
GUI_Translate_Display(MENU_Sprite, (CN_User_Menu2_04_4black + State_Flag.USER_PROPOSAL), 225u, GUI_DISP_MENU_Y[1u], GUI_BLENDMODE_SRC_OVER);
GUI_Translate_Display(MENU_Sprite, (CN_User_Menu2_04_10black + State_Flag.FState_TPMSSET), 225u, GUI_DISP_MENU_Y[2u], GUI_BLENDMODE_SRC_OVER);
if (K_Line_Set.K_Line_LID3E != 0x01u)
{
GUI_Translate_Display(MENU_Sprite, (CN_User_Menu2_04_10black + 1u), 225u, GUI_DISP_MENU_Y[2u], GUI_BLENDMODE_SRC_OVER);
}
else
{
GUI_Translate_Display(MENU_Sprite, (CN_User_Menu2_04_10black + State_Flag.FState_TPMSSET), 225u, GUI_DISP_MENU_Y[2u], GUI_BLENDMODE_SRC_OVER);
}
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment