/[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 450 by jonathan, Tue Mar 4 10:33:28 2003 UTC revision 469 by jonathan, Wed Mar 5 18:19:25 2003 UTC
# Line 455  class MainWindow(wxFrame): Line 455  class MainWindow(wxFrame):
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.GetClassification().SetDefaultStroke(color)                  layer.GetClassification().SetDefaultLineColor(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.GetClassification().SetDefaultStroke(Color.None)              layer.GetClassification().SetDefaultLineColor(Color.None)
464    
465      def HideLayer(self):      def HideLayer(self):
466          layer = self.current_layer()          layer = self.current_layer()

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26