blob: 37b46ca625c12861e5d65ddc9a0b330c5aeb99f1 (
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
38
39
40
41
42
43
|
############################################################################
#
# File: event.icn
#
# Subject: Procedure to produces events from a window event history
#
# Author: Ralph E. Griswold
#
# Date: April 30, 1996
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# Event(win) overloads the built-in function Event() and produces
# events using evplay().
#
############################################################################
#
# Requires: Version 9 graphics
#
############################################################################
#
# Links: evplay
#
############################################################################
link evplay
procedure Event(win)
static Event_
initial {
Event_ := proc("Event", 0) | stop("*** cannot get built-in Event()")
}
evplay(win) | exit()
return Event_(win)
end
|