summaryrefslogtreecommitdiff
path: root/ipl/gprocs/xutils.icn
blob: 8c460675a64630c007e091478601f5fb69892d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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