blob: 76324e71068f0d5ff8fc8c0e23e7c57c6289046c (
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
49
50
51
|
############################################################################
#
# File: wattrib.icn
#
# Subject: Procedures for attributes
#
# Author: Ralph E. Griswold
#
# Date: March 6, 1995
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# These are "helper" procedures to use in place of WAttrib().
#
# This is a work in progress; at present it only handles fetching
# of a few attribute values.
#
############################################################################
#
# Requires: Version 9 graphics
#
############################################################################
procedure Width(win)
/win := &window
return WAttrib(win, "width")
end
procedure Height(win)
/win := &window
return WAttrib(win, "height")
end
procedure LineWidth(win)
/win := &window
return WAttrib(win, "linewidth")
end
|