#include "GUI.h"
#include "wm.h"
extern const GUI_BITMAP bmMicriumLogo;
extern const GUI_BITMAP bmMicriumLogo_1bpp;
/*
*******************************************************************
*
* main()
*
*******************************************************************
*/
void MainTask(void) {
GUI_Init();
GUI_SetBkColor(GUI_BLUE);
GUI_Clear();
WM_SetBkWindowColor(GUI_RED);
GUI_MessageBox("This text is shown\n in a message box",
"Caption/Title",
GUI_MESSAGEBOX_CF_MOVEABLE);
// GUI_Delay(3000);
GUI_MessageBox("New Message!",
"Caption/Title",
GUI_MESSAGEBOX_CF_MOVEABLE);
GUI_Delay(3000);
GUI_DispString("Hello world\n");
GUI_DispString("Hello world1\n");
GUI_DispChar('A');
GUI_DispCharAt('B',20,20);
GUI_DispStringHCenterAt("pingxiaozhao1104@126.com",110,110);
GUI_DispStringAt("Hello world\n",40,40);
GUI_Delay(3000);
GUI_GotoXY(50,50);
GUI_DispString("The value is");
// GUI_Clear();
GUI_DispCEOL();
while(1)GUI_Exec();
}