Add initial orientation to the widgets demo.

This commit is contained in:
inmarket 2013-10-24 16:52:17 +10:00
parent 6ad2ecf818
commit 7ba622b797

View File

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