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

Comparing ray/src/util/do_views3.6.tcl (file contents):
Revision 2.4 by greg, Fri Mar 24 12:35:27 1995 UTC vs.
Revision 2.8 by greg, Sat Feb 22 02:07:30 2003 UTC

# Line 1 | Line 1
1 < # SCCSid "$SunId$ LBL"
1 > # RCSid: $Id$
2   #
3   # Handle view parameters
4   #
# Line 80 | Line 80 | proc delview {} {                      # delete current view
80   }
81  
82   proc copyviews rf {             # copy view settings from another RIF
83 <        load_vars [file tail $rf] {view UP PICTURE RESOLUTION}
83 >        load_vars [file tail $rf] {view UP PICTURE RESOLUTION RAWFILE ZFILE}
84          vnchange viewname {} w
85   }
86  
# Line 166 | Line 166 | proc do_views w {                      # create views screen
166                          trad views up
167          # Picture file name
168          label $w.pfl -text Picture:
169 <        place $w.pfl -relx .0714 -rely .6498
169 >        place $w.pfl -relx .0714 -rely .6345
170          entry $w.pfe -textvariable radvar(PICTURE) -relief sunken
171 <        place $w.pfe -relwidth .6429 -relheight .0610 -relx .2857 -rely .6498
171 >        place $w.pfe -relwidth .5714 -relheight .0610 -relx .2857 -rely .6345
172          helplink $w.pfe trad views picture
173          # Resolution
174          label $w.rzl -text Resolution:
175 <        place $w.rzl -relx .0714 -rely .7717
175 >        place $w.rzl -relx .0714 -rely .7107
176          entry $w.rze -textvariable radvar(RESOLUTION) -relief sunken
177 <        place $w.rze -relwidth .2857 -relheight .0610 -relx .2857 -rely .7717
177 >        place $w.rze -relwidth .2857 -relheight .0610 -relx .2857 -rely .7107
178          helplink $w.rze trad views resolution
179 +        # Rawfile
180 +        label $w.rfl -text Rawfile:
181 +        place $w.rfl -relx .0714 -rely .7870
182 +        entry $w.rfe -textvariable radvar(RAWFILE) -relief sunken
183 +        place $w.rfe -relwidth .5714 -relheight .0610 -relx .2857 -rely .7870
184 +        helplink $w.rfe trad views rawfile
185 +        # Zfile
186 +        label $w.zfl -text Zfile:
187 +        place $w.zfl -relx .0714 -rely .8632
188 +        entry $w.zfe -textvariable radvar(ZFILE) -relief sunken
189 +        place $w.zfe -relwidth .5714 -relheight .0610 -relx .2857 -rely .8632
190 +        helplink $w.zfe trad views zfile
191          # Revert and Copy buttons
192          button $w.revert -text Revert -relief raised \
193                          -command "copyviews $rifname"
# Line 183 | Line 195 | proc do_views w {                      # create views screen
195                          -anchor se
196          helplink $w.revert trad views revert
197          button $w.copy -text Copy -relief raised -command {getfile -grab \
198 <                        -send copyviews -view view_txt -glob $rif_glob}
198 >                        -send copyviews -view view_txt -glob $myglob(rif)}
199          place $w.copy -relwidth .1071 -relheight .0610 -relx .98 -rely .90 \
200                          -anchor se
201          helplink $w.copy trad views copy

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines