aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/frame/main.c
diff options
context:
space:
mode:
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;