aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/frame/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-11 13:09:36 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-11 13:09:36 +1000
commitbdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (patch)
tree8bc8883ad298e6a8d2a8ac6a57696b41c2fdb816 /demos/modules/gwin/frame/main.c
parenta49b095b945756f1c32d9cfe3795a0d86151d6aa (diff)
downloaduGFX-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.c8
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;