/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/classgen.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/classgen.py

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

revision 1378 by jonathan, Wed Jul 2 12:59:20 2003 UTC revision 1379 by bh, Tue Jul 8 13:23:20 2003 UTC
# Line 399  class CustomRamp: Line 399  class CustomRamp:
399          color1 = self.prop1.GetLineColor()          color1 = self.prop1.GetLineColor()
400          color2 = self.prop2.GetLineColor()          color2 = self.prop2.GetLineColor()
401    
402          self.__SetProperty(color1, color2, index, newProps.SetLineColor)          self.__SetProperty(self.prop1.GetLineColor(),
403          self.__SetProperty(color1, color2, index, newProps.SetFill)                             self.prop2.GetLineColor(),
404                               index, newProps.SetLineColor)
405            self.__SetProperty(self.prop1.GetFill(), self.prop2.GetFill(),
406                               index, newProps.SetFill)
407    
408          w = (self.prop2.GetLineWidth() - self.prop1.GetLineWidth()) \          w = (self.prop2.GetLineWidth() - self.prop1.GetLineWidth()) \
409              * index \              * index \

Legend:
Removed from v.1378  
changed lines
  Added in v.1379

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26