Changeset 3656 for trunk/gui/scripts/vtkheightmapviewer.tcl
- Timestamp:
- May 15, 2013 2:02:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkheightmapviewer.tcl
r3638 r3656 80 80 protected method Rotate {option x y} 81 81 protected method Zoom {option} 82 82 83 83 # The following methods are only used by this class. 84 84 private method BuildAxisTab {} … … 193 193 $_parser alias legend [itcl::code $this ReceiveLegend] 194 194 195 # Create image for legend colorbar. 196 set _image(legend) [image create photo] 197 195 198 # Initialize the view to some default parameters. 196 199 array set _view { … … 209 212 210 213 array set _settings { 211 212 213 214 axisFlymode "static" 215 axisMinorTicks 1 216 stretchToFit 0 214 217 axisLabels 1 215 218 axisVisible 1 … … 250 253 itk_component add fieldmenu { 251 254 menu $itk_component(plotarea).menu \ 252 255 -relief flat \ 253 256 -tearoff no 254 257 } { … … 332 335 puts stderr "errs=$errs errorInfo=$errorInfo" 333 336 } 334 set _image(legend) [image create photo]335 337 336 338 # Hack around the Tk panewindow. The problem is that the requested … … 1502 1504 $itk_component(outline) configure -state normal 1503 1505 SendCmd "camera mode image" 1504 1506 } 1505 1507 if {$_settings(stretchToFit)} { 1506 1508 if {$scale == 0} {
Note: See TracChangeset
for help on using the changeset viewer.