Changeset 12


Ignore:
Timestamp:
May 30, 2005 10:23:20 PM (19 years ago)
Author:
mmc
Message:

Fixed a new nits to so that the pntoy works
better. The <tool><control>auto</control></tool>
mode is now truly automatic, and the Simulate
button no longer appears in that mode.

Location:
trunk/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r11 r12  
    135135    if {$w0+$w1 < $screenw && $style != "wizard"} {
    136136        $win.pager configure -arrangement side-by-side
    137         $f.analyze configure -holdwindow [$win.pager page @0] -simcontrol on
     137        $f.analyze configure -holdwindow [$win.pager page @0]
     138
     139        if {[$tool xml get tool.control] == "auto"} {
     140            # in "auto" mode, we don't need a simulate button
     141            $f.analyze configure -simcontrol off
     142        } else {
     143            # not in "auto" mode but side-by-side, we always need the button
     144            $f.analyze configure -simcontrol on
     145        }
    138146    }
    139147}
  • trunk/gui/scripts/analyzer.tcl

    r11 r12  
    226226    $itk_component(notebook) current about
    227227
    228     # reset everything to a clean state
    229     reset
    230 
    231228    # tool can run on "manual" (default) or "auto"
    232229    set cntl [$tool xml get tool.control]
     
    234231        set _control $cntl
    235232    }
     233
     234    # reset everything to a clean state
     235    reset
    236236}
    237237
     
    458458    _simState on
    459459    _fixSimControl
     460    reset
    460461}
    461462
  • trunk/gui/scripts/xyresult.tcl

    r11 r12  
    193193    set xydata [lindex $_clist 0]
    194194    if {$xydata != ""} {
    195         set title [$xydata hints label]
    196         if {"" != $title} {
    197             $g configure -title $title
    198         }
    199 
    200195        set legend [$xydata hints legend]
    201196        if {"" != $legend} {
Note: See TracChangeset for help on using the changeset viewer.