diff --git a/DemoProc/src/VariableBox.c b/DemoProc/src/VariableBox.c index 95f71d9..a79af14 100644 --- a/DemoProc/src/VariableBox.c +++ b/DemoProc/src/VariableBox.c @@ -239,6 +239,7 @@ HMI_ENGINE_RESULT HMI_DemoVariableBox_ProcessEvent(SGUI_SCR_DEV* pstDeviceIF, co if(1 == s_uiFocusedFlag) { SGUI_TextVariableBox_DecreaseIndex(&s_stTextVariableBox); + SGUI_TextVariableBox_Repaint(pstDeviceIF, &s_stTextVariableBox, SGUI_DRAW_REVERSE); } break; } @@ -261,6 +262,7 @@ HMI_ENGINE_RESULT HMI_DemoVariableBox_ProcessEvent(SGUI_SCR_DEV* pstDeviceIF, co if(1 == s_uiFocusedFlag) { SGUI_TextVariableBox_IncreaseIndex(&s_stTextVariableBox); + SGUI_TextVariableBox_Repaint(pstDeviceIF, &s_stTextVariableBox, SGUI_DRAW_REVERSE); } break; }