80 |
|
} |
81 |
|
|
82 |
|
proc copyviews rf { # copy view settings from another RIF |
83 |
< |
load_vars [file tail $rf] {view UP PICTURE RESOLUTION RAWSAVE} |
83 |
> |
load_vars [file tail $rf] {view UP PICTURE RESOLUTION RAWFILE ZFILE} |
84 |
|
vnchange viewname {} w |
85 |
|
} |
86 |
|
|
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 |
< |
# Rawsave |
180 |
< |
checkbutton $w.rawb -relief flat -text Rawsave \ |
181 |
< |
-variable radvar(RAWSAVE) -onvalue True -offvalue False |
182 |
< |
place $w.rawb -relx .6429 -rely .7717 |
183 |
< |
helplink $w.rawb trad views rawsave |
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" |
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 |