Changeset 1112 for trunk/gui


Ignore:
Timestamp:
Aug 13, 2008 5:07:32 PM (16 years ago)
Author:
gah
Message:

fixes for xyresult/heightmapviewer

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/heightmapviewer.tcl

    r1111 r1112  
    582582            if { ![SendBytes "heightmap data follows $nbytes"] } {
    583583                return
     584
    584585            }
    585586            if { ![SendBytes $data] } {
  • trunk/gui/scripts/xyresult.tcl

    r1111 r1112  
    2525    -*-helvetica-medium-r-normal-*-12-* widgetDefault
    2626
    27 option add *XyResult.autoColors {
     27set autocolors {
    2828    #0000ff #ff0000 #00cc00
    2929    #cc00cc #ff9900 #cccc00
    3030    #000080 #800000 #006600
    3131    #660066 #996600 #666600
    32 } widgetDefault
    33 
     32}
     33set autocolors {
     34#4876ff
     35#00bfff
     36#cae1ff
     37#98f5ff
     38#7fffd4
     39#00ff7f
     40#caff70
     41#ffff00
     42#ffc1c1
     43#ffe7ba
     44#ff4040
     45#ff7f00
     46#ff0000
     47#ffaeb9
     48#ff00ff
     49#bf3dff
     50#0000ff
     51#87ceff
     52#bfefff
     53#00f5ff
     54#c1ffc1
     55#00ff00
     56#fff68f
     57#ffd700
     58#ff6a6a
     59#ffa54f
     60#ff8c69
     61#ff7256
     62#ff1493
     63#ff82ab
     64#ff93fa
     65#9b30ff
     66}
     67set autocolors {
     68#0000cd
     69#cd0000
     70#00cd00
     71#3a5fcd
     72#cdcd00
     73#cd1076
     74#009acd
     75#00c5cd
     76#a2b5cd
     77#7ac5cd
     78#66cdaa
     79#a2cd5a
     80#cd9b9b
     81#cdba96
     82#cd3333
     83#cd6600
     84#cd8c95
     85#cd00cd
     86#9a32cd
     87#6ca6cd
     88#9ac0cd
     89#9bcd9b
     90#00cd66
     91#cdc673
     92#cdad00
     93#cd5555
     94#cd853f
     95#cd7054
     96#cd5b45
     97#cd6889
     98#cd69c9
     99#551a8b
     100}
     101
     102option add *XyResult.autoColors $autocolors widgetDefault
    34103option add *XyResult*Balloon*Entry.background white widgetDefault
    35104
     
    15561625                $g legend deactivate $name
    15571626                $g element configure $name -hide no
    1558                 update
    15591627            }
    15601628            $g element configure $cur -hide yes
Note: See TracChangeset for help on using the changeset viewer.