summaryrefslogtreecommitdiff
path: root/ipl/gprocs/xutils.icn
diff options
context:
space:
mode:
Diffstat (limited to 'ipl/gprocs/xutils.icn')
-rw-r--r--ipl/gprocs/xutils.icn37
1 files changed, 37 insertions, 0 deletions
diff --git a/ipl/gprocs/xutils.icn b/ipl/gprocs/xutils.icn
new file mode 100644
index 0000000..8c46067
--- /dev/null
+++ b/ipl/gprocs/xutils.icn
@@ -0,0 +1,37 @@
+############################################################################
+#
+# File: xutils.icn
+#
+# Subject: Procedures for graphics utilities
+#
+# Author: Gregg M. Townsend
+#
+# Date: June 9, 1994
+#
+############################################################################
+#
+# This file is in the public domain.
+#
+############################################################################
+#
+# compatibility file
+#
+############################################################################
+
+link wopen
+link gpxop
+link gpxlib
+
+procedure Quit(win)
+ /win := &window
+ while *Pending(win) > 0 do
+ if Event(win) === QuitEvents() then
+ return win
+ fail
+end
+
+procedure Done(win)
+ /win := &window
+ until Event(win) === QuitEvents()
+ exit()
+end