/********************************************************************* * * GUIDEMO_ShowInfo */ void GUIDEMO_ShowInfo(const char * acInfo) { TEXT_Handle hText; if (WM_IsVisible(_hDialogInfo)) { hText = WM_GetDialogItem(_hDialogInfo, GUI_ID_TEXT0); TEXT_SetText(hText, acInfo); } }
/** * @brief wt_SetText_Menu * @param * @retval None */ void wt_SetText_Menu(const char * pMenu) { TEXT_Handle hText; if (WM_IsVisible(hWin_Title)) { hText = WM_GetDialogItem(hWin_Title, ID_TITLE_TEXT_1); TEXT_SetText(hText, pMenu); } }
/********************************************************************* * * _HideWindow */ static void _HideWindow(void) { unsigned i; for (i = 0; i < MAX_WINDOWS; i++) { if (WM_IsVisible(_ahWin[i])) { WM_HideWindow(_ahWin[i]); break; } } }
/********************************************************************* * * _ShowWindow */ static void _ShowWindow(void) { unsigned i; for (i = 0; i < MAX_WINDOWS; i++) { if (_ahWin[i] != 0) { if (WM_IsVisible(_ahWin[i]) == 0) { WM_ShowWindow(_ahWin[i]); break; } } } }