Add initial orientation to the widgets demo.

ugfx_release_2.6
inmarket 2013-10-24 16:52:17 +10:00
parent 6ad2ecf818
commit 7ba622b797
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);