- Timestamp:
- May 31, 2015, 8:48:52 PM (9 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/map.tcl
r5281 r5647 23 23 24 24 itcl::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 25 46 private variable _tree ""; # Tree of information about the map. 26 47 private variable _isValid 0; … … 44 65 "projected" 1 45 66 } 46 protected method Parse { xmlobj path }47 48 constructor {xmlobj path} {49 # defined below50 }51 destructor {52 # defined below53 }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 {}66 67 } 67 68 -
trunk/gui/scripts/mapviewer.tcl
r5347 r5647 38 38 itk_option define -plotforeground plotForeground Foreground "" 39 39 itk_option define -plotbackground plotBackground Background "" 40 41 private variable _layersFrame ""; # Name of layers frame widget42 private variable _viewpointsFrame ""; # Name of viewpoints frame widget43 private variable _mapsettings; # Global map settings44 40 45 41 constructor { hostlist args } { … … 132 128 private method Zoom {option {x 0} {y 0}} 133 129 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 134 134 private variable _dlist ""; # list of data objects 135 135 private variable _obj2ovride; # maps dataobj => style override … … 155 155 private variable _title "" 156 156 157 private common _downloadPopup; # download options from popup158 private common _hardcopy159 157 private variable _width 0 160 158 private variable _height 0 … … 164 162 private variable _labelCount 0 165 163 private variable _b1mode "pan" 164 165 private common _downloadPopup; # download options from popup 166 private common _hardcopy 166 167 } 167 168
Note: See TracChangeset
for help on using the changeset viewer.