mirror of
https://gitee.com/Polarix/simplegui.git
synced 2025-06-17 13:37:52 +00:00
2020-12-24:
修正了文本输入框演示代码中文字焦点改变后无法及时刷新的问题。
This commit is contained in:
parent
8eb9a82de9
commit
227e439a5a
@ -239,6 +239,7 @@ HMI_ENGINE_RESULT HMI_DemoVariableBox_ProcessEvent(SGUI_SCR_DEV* pstDeviceIF, co
|
|||||||
if(1 == s_uiFocusedFlag)
|
if(1 == s_uiFocusedFlag)
|
||||||
{
|
{
|
||||||
SGUI_TextVariableBox_DecreaseIndex(&s_stTextVariableBox);
|
SGUI_TextVariableBox_DecreaseIndex(&s_stTextVariableBox);
|
||||||
|
SGUI_TextVariableBox_Repaint(pstDeviceIF, &s_stTextVariableBox, SGUI_DRAW_REVERSE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -261,6 +262,7 @@ HMI_ENGINE_RESULT HMI_DemoVariableBox_ProcessEvent(SGUI_SCR_DEV* pstDeviceIF, co
|
|||||||
if(1 == s_uiFocusedFlag)
|
if(1 == s_uiFocusedFlag)
|
||||||
{
|
{
|
||||||
SGUI_TextVariableBox_IncreaseIndex(&s_stTextVariableBox);
|
SGUI_TextVariableBox_IncreaseIndex(&s_stTextVariableBox);
|
||||||
|
SGUI_TextVariableBox_Repaint(pstDeviceIF, &s_stTextVariableBox, SGUI_DRAW_REVERSE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user