diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-10-24 16:52:17 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-24 16:52:17 +1000 |
commit | 7ba622b797696dd894c427617fa71ed3ca3b4f02 (patch) | |
tree | 58c699ed006265c417389c60927e9e86de0e6ea3 /demos | |
parent | 6ad2ecf8185810ae27b25f26fe3d5171381ebe65 (diff) | |
download | uGFX-7ba622b797696dd894c427617fa71ed3ca3b4f02.tar.gz uGFX-7ba622b797696dd894c427617fa71ed3ca3b4f02.tar.bz2 uGFX-7ba622b797696dd894c427617fa71ed3ca3b4f02.zip |
Add initial orientation to the widgets demo.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/modules/gwin/widgets/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index 31b65a65..0dec7275 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -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); |