/********************************************************************* * * 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); }
/********************************************************************* * * GUIDEMO_BarGraph */ void GUIDEMO_BarGraph(void) { GUIDEMO_ConfigureDemo("Bar Graph", "Animated bar graph\nusing Alpha Blending.", GUIDEMO_SHOW_CURSOR | GUIDEMO_SHOW_CONTROL); GUIDEMO_DrawBk(); GUIDEMO_DispTitle("Bargraph demo"); _DemoBarGraph(); }