Changeset 5647 for trunk


Ignore:
Timestamp:
May 31, 2015, 8:48:52 PM (9 years ago)
Author:
ldelgass
Message:

code style

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r5281 r5647  
    2323
    2424itcl::class Rappture::Map {
     25    constructor {xmlobj path} {
     26        # defined below
     27    }
     28    destructor {
     29        # defined below
     30    }
     31
     32    public method earthfile {}
     33    public method hints { args }
     34    public method isGeocentric {}
     35    public method isvalid {} {
     36        return $_isValid;
     37    }
     38    public method layer { layerName }
     39    public method layers {}
     40    public method type { layerName }
     41    public method viewpoint { viewpointName }
     42    public method viewpoints {}
     43
     44    protected method Parse { xmlobj path }
     45
    2546    private variable _tree "";         # Tree of information about the map.
    2647    private variable _isValid 0;
     
    4465        "projected"     1
    4566    }
    46     protected method Parse { xmlobj path }
    47 
    48     constructor {xmlobj path} {
    49         # defined below
    50     }
    51     destructor {
    52         # defined below
    53     }
    54 
    55     public method earthfile {}
    56     public method hints { args }
    57     public method isGeocentric {}
    58     public method isvalid {} {
    59         return $_isValid;
    60     }
    61     public method layer { layerName }
    62     public method layers {}
    63     public method type { layerName }
    64     public method viewpoint { viewpointName }
    65     public method viewpoints {}
    6667}
    6768
  • trunk/gui/scripts/mapviewer.tcl

    r5347 r5647  
    3838    itk_option define -plotforeground plotForeground Foreground ""
    3939    itk_option define -plotbackground plotBackground Background ""
    40 
    41     private variable _layersFrame "";     # Name of layers frame widget
    42     private variable _viewpointsFrame ""; # Name of viewpoints frame widget
    43     private variable _mapsettings;        # Global map settings
    4440
    4541    constructor { hostlist args } {
     
    132128    private method Zoom {option {x 0} {y 0}}
    133129
     130    private variable _layersFrame "";     # Name of layers frame widget
     131    private variable _viewpointsFrame ""; # Name of viewpoints frame widget
     132    private variable _mapsettings;        # Global map settings
     133
    134134    private variable _dlist "";         # list of data objects
    135135    private variable _obj2ovride;       # maps dataobj => style override
     
    155155    private variable _title ""
    156156
    157     private common _downloadPopup;      # download options from popup
    158     private common _hardcopy
    159157    private variable _width 0
    160158    private variable _height 0
     
    164162    private variable _labelCount 0
    165163    private variable _b1mode "pan"
     164
     165    private common _downloadPopup;      # download options from popup
     166    private common _hardcopy
    166167}
    167168
Note: See TracChangeset for help on using the changeset viewer.