aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin')
-rw-r--r--demos/modules/gwin/button/main.c2
-rw-r--r--demos/modules/gwin/checkbox/main.c2
-rw-r--r--demos/modules/gwin/container_nested/main.c2
-rw-r--r--demos/modules/gwin/frame/main.c2
-rw-r--r--demos/modules/gwin/keyboard/main.c2
-rw-r--r--demos/modules/gwin/label/main.c2
-rw-r--r--demos/modules/gwin/list/main.c2
-rw-r--r--demos/modules/gwin/radio/main.c2
-rw-r--r--demos/modules/gwin/slider/main.c2
-rw-r--r--demos/modules/gwin/tabset/main.c2
-rw-r--r--demos/modules/gwin/textedit/main.c2
-rw-r--r--demos/modules/gwin/widgets/main.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/demos/modules/gwin/button/main.c b/demos/modules/gwin/button/main.c
index ab70d1a0..fc600e79 100644
--- a/demos/modules/gwin/button/main.c
+++ b/demos/modules/gwin/button/main.c
@@ -76,7 +76,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_BUTTON:
diff --git a/demos/modules/gwin/checkbox/main.c b/demos/modules/gwin/checkbox/main.c
index 486c4057..d2c395e8 100644
--- a/demos/modules/gwin/checkbox/main.c
+++ b/demos/modules/gwin/checkbox/main.c
@@ -70,7 +70,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_CHECKBOX:
diff --git a/demos/modules/gwin/container_nested/main.c b/demos/modules/gwin/container_nested/main.c
index 6d86704e..0900f404 100644
--- a/demos/modules/gwin/container_nested/main.c
+++ b/demos/modules/gwin/container_nested/main.c
@@ -134,7 +134,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_CHECKBOX:
diff --git a/demos/modules/gwin/frame/main.c b/demos/modules/gwin/frame/main.c
index 3ee330df..18e15046 100644
--- a/demos/modules/gwin/frame/main.c
+++ b/demos/modules/gwin/frame/main.c
@@ -131,7 +131,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_SLIDER:
diff --git a/demos/modules/gwin/keyboard/main.c b/demos/modules/gwin/keyboard/main.c
index cf31118f..3d137b4e 100644
--- a/demos/modules/gwin/keyboard/main.c
+++ b/demos/modules/gwin/keyboard/main.c
@@ -85,7 +85,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_KEYBOARD:
diff --git a/demos/modules/gwin/label/main.c b/demos/modules/gwin/label/main.c
index 6a2429a4..c4261ae3 100644
--- a/demos/modules/gwin/label/main.c
+++ b/demos/modules/gwin/label/main.c
@@ -72,7 +72,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
}
return 0;
diff --git a/demos/modules/gwin/list/main.c b/demos/modules/gwin/list/main.c
index 86e50e9a..a893c62a 100644
--- a/demos/modules/gwin/list/main.c
+++ b/demos/modules/gwin/list/main.c
@@ -124,7 +124,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
}
diff --git a/demos/modules/gwin/radio/main.c b/demos/modules/gwin/radio/main.c
index f6cc5b4d..ee1f87c7 100644
--- a/demos/modules/gwin/radio/main.c
+++ b/demos/modules/gwin/radio/main.c
@@ -92,7 +92,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_RADIO:
diff --git a/demos/modules/gwin/slider/main.c b/demos/modules/gwin/slider/main.c
index b813a393..a8aca9c8 100644
--- a/demos/modules/gwin/slider/main.c
+++ b/demos/modules/gwin/slider/main.c
@@ -84,7 +84,7 @@ int main(void) {
while(1) {
// Get an Event (assume it is a slider event)
- pe = (GEventGWinSlider *)geventEventWait(&gl, TIME_INFINITE);
+ pe = (GEventGWinSlider *)geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_SLIDER:
diff --git a/demos/modules/gwin/tabset/main.c b/demos/modules/gwin/tabset/main.c
index bedd7ed8..e505121e 100644
--- a/demos/modules/gwin/tabset/main.c
+++ b/demos/modules/gwin/tabset/main.c
@@ -87,7 +87,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
(void)pe;
}
diff --git a/demos/modules/gwin/textedit/main.c b/demos/modules/gwin/textedit/main.c
index 490a949c..29b075cd 100644
--- a/demos/modules/gwin/textedit/main.c
+++ b/demos/modules/gwin/textedit/main.c
@@ -117,7 +117,7 @@ int main(void) {
while(1) {
// Get an Event
- pk = (GEventKeyboard *)geventEventWait(&gl, TIME_INFINITE);
+ pk = (GEventKeyboard *)geventEventWait(&gl, gDelayForever);
if (pk->type != GEVENT_KEYBOARD)
continue;
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index 4b8e1146..52ffdc91 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -535,7 +535,7 @@ int main(void) {
while(1) {
// Get an Event
- pe = geventEventWait(&gl, TIME_INFINITE);
+ pe = geventEventWait(&gl, gDelayForever);
switch(pe->type) {
case GEVENT_GWIN_BUTTON: