diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-27 23:51:56 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-27 23:51:56 +0000 |
commit | 6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1 (patch) | |
tree | 926065cf45450116098db664e3c61dced9e1f21a /ipl/gprocs/xutils.icn | |
download | icon-6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1.tar.gz |
Initial upstream version 9.4.3upstream/9.4.3
Diffstat (limited to 'ipl/gprocs/xutils.icn')
-rw-r--r-- | ipl/gprocs/xutils.icn | 37 |
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 |