blob: 34cd85112633905b57118a4437ffe9289210be9b (
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
44
45
46
47
48
|
############################################################################
#
# File: cw.icn
#
# Subject: Program to manipulate color ways
#
# Author: Ralph E. Griswold
#
# Date: August 19, 1996
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# See colorway.icn for documentation
#
############################################################################
#
# Requires: Version 9 graphics
#
############################################################################
#
# Links: colorway
#
############################################################################
link colorway
procedure main()
cw_init()
cw := colorway(table()) # initial color way
cw.table["white"] := "white"
cw.table["black"] := "black"
cw_file := ""
win_cw()
expose(cw_interface)
repeat {
if \cw_active then edit_cw()
else ProcessEvent(cw_root, , shortcuts)
}
end
|