Changeset 6476


Ignore:
Timestamp:
Aug 7, 2016 10:21:42 PM (8 years ago)
Author:
ldelgass
Message:

code style fix in gauge

File:
1 edited

Legend:

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

    r6295 r6476  
    6464    protected method _pop_uq_deactivate {}
    6565
    66     private variable _value 0  ;# value for this widget
    67     private variable _mode exact ;# current mode
    68     private variable _pde ""   ;# ProbDistEditor
    69     private variable _val ""   ;# value choice combobox
     66    private variable _value 0;    # value for this widget
     67    private variable _mode exact; # current mode
     68    private variable _pde "";     # ProbDistEditor
     69    private variable _val "";     # value choice combobox
    7070    private variable uq no
    7171
     
    308308itcl::body Rappture::Gauge::edit {option} {
    309309    if {$itk_option(-state) == "disabled"} {
    310         return  ;# disabled? then bail out here!
     310        return; # disabled? then bail out here!
    311311    }
    312312    switch -- $option {
     
    446446itcl::body Rappture::Gauge::_hilite {comp state} {
    447447    if {$itk_option(-state) == "disabled"} {
    448         set state 0  ;# disabled? then don't hilite
     448        set state 0; # disabled? then don't hilite
    449449    }
    450450    if {$comp == "value" && !$itk_option(-editable)} {
     
    477477    # puts "Gauge::editor option=$option args=$args"
    478478    if {$itk_option(-state) == "disabled"} {
    479         return  ;# disabled? then bail out here!
     479        return; # disabled? then bail out here!
    480480    }
    481481    switch -- $option {
     
    639639        $itk_component(uq) configure -state $itk_option(-state)
    640640    }
    641     _redraw  ;# fix gauge
     641    _redraw; # fix gauge
    642642}
    643643
Note: See TracChangeset for help on using the changeset viewer.