fixed orientation stuff in widgets demo
This commit is contained in:
parent
45eb9b0c79
commit
2832f97fed
@ -262,10 +262,6 @@ 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);
|
||||
@ -276,6 +272,10 @@ int main(void) {
|
||||
gwinAttachMouse(0);
|
||||
#endif
|
||||
|
||||
#if GDISP_NEED_CONTROL
|
||||
gdispSetOrientation(GDISP_ROTATE_90);
|
||||
#endif
|
||||
|
||||
// Create the gwin windows/widgets
|
||||
createWidgets();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user