Add initial orientation to the widgets demo.

ugfx_release_2.6
inmarket 2013-10-24 16:52:17 +10:00
parent d7b9fc55f5
commit c08c3b57a4
1 changed files with 4 additions and 0 deletions

View File

@ -262,6 +262,10 @@ int main(void) {
// Initialize the display
gfxInit();
#if GDISP_NEED_CONTROL
gdispSetOrientation(GDISP_ROTATE_90);
#endif
// Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);