/********************************************************************* * * MainTask */ void GUIDEMO_AntialiasedText(void) { unsigned OldAlphaState; GUIDEMO_ShowIntro("Antialiased Text", "Output antialiased text\non different backgrounds."); GUIDEMO_DrawBk(); GUIDEMO_DispTitle("Antialiased text sample"); OldAlphaState = GUI_EnableAlpha(1); _DrawScreen(); GUIDEMO_Wait(4000); GUI_EnableAlpha(OldAlphaState); }
void MainTask(void) { GUI_Init(); GUI_EnableAlpha(1); _DrawScreen(); while (1) { GUI_Delay(100); } }