/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 449 by jonathan, Mon Feb 24 18:47:21 2003 UTC revision 450 by jonathan, Tue Mar 4 10:33:28 2003 UTC
# Line 443  class MainWindow(wxFrame): Line 443  class MainWindow(wxFrame):
443          if layer is not None:          if layer is not None:
444              color = self.choose_color()              color = self.choose_color()
445              if color is not None:              if color is not None:
446                  layer.classification.SetDefaultFill(color)                  layer.GetClassification().SetDefaultFill(color)
447    
448      def LayerTransparentFill(self):      def LayerTransparentFill(self):
449          layer = self.current_layer()          layer = self.current_layer()
450          if layer is not None:          if layer is not None:
451              layer.classification.SetDefaultFill(None)              layer.GetClassification().SetDefaultFill(Color.None)
452    
453      def LayerOutlineColor(self):      def LayerOutlineColor(self):
454          layer = self.current_layer()          layer = self.current_layer()
455          if layer is not None:          if layer is not None:
456              color = self.choose_color()              color = self.choose_color()
457              if color is not None:              if color is not None:
458                  layer.classification.SetDefaultStroke(color)                  layer.GetClassification().SetDefaultStroke(color)
459    
460      def LayerNoOutline(self):      def LayerNoOutline(self):
461          layer = self.current_layer()          layer = self.current_layer()
462          if layer is not None:          if layer is not None:
463              layer.classification.SetDefaultStroke(None)              layer.GetClassification().SetDefaultStroke(Color.None)
464    
465      def HideLayer(self):      def HideLayer(self):
466          layer = self.current_layer()          layer = self.current_layer()

Legend:
Removed from v.449  
changed lines
  Added in v.450

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26