ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/trad.wsh
(Generate patch)

Comparing ray/src/util/trad.wsh (file contents):
Revision 2.9 by greg, Mon Dec 5 09:50:43 1994 UTC vs.
Revision 2.11 by greg, Wed Sep 20 12:56:00 1995 UTC

# Line 1 | Line 1
1 < #!/usr/local/bin/wish -f
1 > #!/usr/local/bin/wish4.0
2   # SCCSid "$SunId$ LBL"
3   #
4   # TCL/TK-based Rad Input File Editor
# Line 79 | Line 79 | set smallscrn [expr [winfo screenwidth .] < 830]
79  
80   message .mess -relief ridge -font fixed -textvariable curmess -anchor nw
81   if $smallscrn {
82 <        frame .upper -geometry 640x410
83 <        frame .upper.right -geometry 120x410
82 >        frame .upper -width 640 -height 410
83 >        frame .upper.right -width 120 -height 410
84          .mess configure -width 640
85   } else {
86 <        frame .upper -geometry 830x410
87 <        frame .upper.right -geometry 130x410
86 >        frame .upper -width 830 -height 410
87 >        frame .upper.right -width 130 -height 410
88          .mess configure -width 830
89   }
90   pack .upper -side top
# Line 106 | Line 106 | proc changescreen {} {         # switch screen according to c
106          set curscreen $curmode
107          do_$curscreen .upper.left
108          if $smallscrn {
109 <                .upper.left configure -geometry 520x410
109 >                .upper.left configure -width 520 -height 410
110          } else {
111 <                .upper.left configure -geometry 700x410
111 >                .upper.left configure -width 700 -height 410
112          }
113          place .upper.left -x 0 -y 0
114   }
# Line 135 | Line 135 | setbutt results
135   rename setbutt {}
136   button .upper.right.help -text HELP -width 9 \
137                  -command "gethelp trad trad intro"
138 < pack .upper.right.help -side top -pady 10 -anchor se
138 > pack .upper.right.help -side top -pady 5 -anchor se
139   helplink .upper.right.help trad trad help
140   button .upper.right.quit -text QUIT \
141                  -command {if [chksave] {destroy .}} -width 9
142 < pack .upper.right.quit -side top -pady 10 -anchor se
142 > pack .upper.right.quit -side top -pady 5 -anchor se
143   helplink .upper.right.quit trad trad quit
144  
145   if $smallscrn {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines