- Timestamp:
- May 18, 2010, 3:34:18 PM (14 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/deviceEditor.tcl
r1539 r1717 24 24 constructor {owner args} { 25 25 Rappture::ControlOwner::constructor $owner 26 } { # defined below } 27 26 } { 27 # defined below 28 } 28 29 public method value {args} 29 30 public method download {option args} 30 31 public method add {dataobj {settings ""}} 31 32 public method delete {args} 32 public method parameters {title args} { # do nothing } 33 public method parameters {title args} { 34 # do nothing 35 } 36 public method snap {w h} 33 37 34 38 protected method _redraw {} … … 217 221 return "device1D" 218 222 } 223 224 itcl::body Rappture::DeviceEditor::snap { w h } { 225 return [$_current snap $w $h] 226 } -
trunk/gui/scripts/field2dresult.tcl
r1543 r1717 38 38 public method delete {args} 39 39 public method scale {args} 40 public method snap {w h} 40 41 public method parameters {title args} { # do nothing } 41 42 public method download {option args} … … 151 152 $itk_component(renderer) download $option 152 153 } 154 155 itcl::body Rappture::Field2DResult::snap { w h } { 156 return [$itk_component(renderer) snap $w $h] 157 } -
trunk/gui/scripts/field3dresult.tcl
r1506 r1717 37 37 public method delete {args} 38 38 public method scale {args} 39 public method snap {w h} 39 40 public method parameters {title args} { # do nothing } 40 41 public method download {option args} … … 153 154 $itk_component(renderer) download $option $args 154 155 } 156 157 itcl::body Rappture::Field3DResult::snap { w h } { 158 return [$itk_component(renderer) snap $w $h] 159 } -
trunk/gui/scripts/xyprint.tcl
r1653 r1717 41 41 42 42 private method CopyOptions { cmd orig clone } 43 private method CopyBindings { oper orig clone args }44 43 private method CloneGraph { orig } 45 44 … … 218 217 set psdata [$_clone postscript output] 219 218 219 if 0 { 220 set f [open "junk.raw" "w"] 221 puts -nonewline $f $psdata 222 close $f 223 } 220 224 if { $format == "eps" } { 221 if 0 {222 set f [open "junk.raw" "w"]223 puts -nonewline $f $psdata224 close $f225 }226 225 return [list .$format $psdata] 227 226 } … … 272 271 set initial [lindex $option 3] 273 272 set current [lindex $option 4] 273 if { $switch == "-data" } { 274 continue 275 } 274 276 if { [string compare $initial $current] == 0 } { 275 277 continue … … 310 312 foreach marker [$orig marker names] { 311 313 $clone marker create [$orig marker type $marker] -name $marker 312 CopyBindings marker $orig $clone $marker313 314 CopyOptions [list marker configure $marker] $orig $clone 314 315 } … … 1081 1082 -weight $_settings($this-legend-font-weight) \ 1082 1083 -slant $_settings($this-legend-font-slant) 1083 $_clone legend configure -font $_fonts(legend)1084 $_clone legend configure -font fixed -font $_fonts(legend) 1084 1085 ApplyElementSettings 1085 1086 }
Note: See TracChangeset
for help on using the changeset viewer.