diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:09:36 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:09:36 +1000 |
commit | bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (patch) | |
tree | 8bc8883ad298e6a8d2a8ac6a57696b41c2fdb816 /demos/modules/gwin/frame/main.c | |
parent | a49b095b945756f1c32d9cfe3795a0d86151d6aa (diff) | |
download | uGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.tar.gz uGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.tar.bz2 uGFX-bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1.zip |
frame fixes
Diffstat (limited to 'demos/modules/gwin/frame/main.c')
-rw-r--r-- | demos/modules/gwin/frame/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gwin/frame/main.c b/demos/modules/gwin/frame/main.c index 8299bfce..ebfeaa6e 100644 --- a/demos/modules/gwin/frame/main.c +++ b/demos/modules/gwin/frame/main.c @@ -24,14 +24,14 @@ int main(void) { // Initialize the display gfxInit(); + // Attach the mouse input + gwinAttachMouse(0); + // Set the widget defaults gwinSetDefaultFont(gdispOpenFont("*")); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gdispClear(White); - // Attach the mouse input - gwinAttachMouse(0); - // create the widget createWidgets(); @@ -40,7 +40,7 @@ int main(void) { gwinAttachListener(&gl); while(1) { - + gfxSleepMilliseconds(1000); } return 0; |