fixed orientation stuff in widgets demo
This commit is contained in:
parent
41e43cfcd6
commit
98e7a40205
1 changed files with 4 additions and 4 deletions
|
@ -262,10 +262,6 @@ 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);
|
||||||
|
@ -276,6 +272,10 @@ int main(void) {
|
||||||
gwinAttachMouse(0);
|
gwinAttachMouse(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if GDISP_NEED_CONTROL
|
||||||
|
gdispSetOrientation(GDISP_ROTATE_90);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Create the gwin windows/widgets
|
// Create the gwin windows/widgets
|
||||||
createWidgets();
|
createWidgets();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue