Changeset 6012
- Timestamp:
- Feb 15, 2016, 11:14:50 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mapviewer.tcl
r6009 r6012 275 275 grid 0 276 276 grid-type "shader" 277 legend 1278 277 terrain-ambient 0.03 279 278 terrain-edges 0 … … 351 350 BuildCameraTab 352 351 BuildHelpTab 353 354 # Legend355 356 set _image(legend) [image create photo]357 itk_component add legend {358 canvas $itk_component(plotarea).legend -width 50 -highlightthickness 0359 } {360 usual361 ignore -highlightthickness362 rename -background -plotbackground plotBackground Background363 }364 352 365 353 # Hack around the Tk panewindow. The problem is that the requested … … 1107 1095 if { [IsConnected] } { 1108 1096 set bytes [ReceiveBytes $size] 1109 if { ![info exists _image(legend )] } {1097 if { ![info exists _image(legend-$colormap)] } { 1110 1098 set _image(legend-$colormap) [image create photo] 1111 1099 }
Note: See TracChangeset
for help on using the changeset viewer.