equal
deleted
inserted
replaced
921 |
921 |
922 # Draws coil |
922 # Draws coil |
923 def Draw(self, dc): |
923 def Draw(self, dc): |
924 Graphic_Element.Draw(self, dc) |
924 Graphic_Element.Draw(self, dc) |
925 if self.Value is not None and self.Value: |
925 if self.Value is not None and self.Value: |
926 if self.Forced: |
926 dc.SetPen(wx.Pen(wx.GREEN, 2, wx.SOLID)) |
927 dc.SetPen(wx.Pen(wx.CYAN, 2, wx.SOLID)) |
|
928 else: |
|
929 dc.SetPen(wx.Pen(wx.GREEN, 2, wx.SOLID)) |
|
930 elif self.Forced: |
|
931 dc.SetPen(wx.Pen(wx.BLUE, 2, wx.SOLID)) |
|
932 else: |
927 else: |
933 dc.SetPen(wx.Pen(wx.BLACK, 2, wx.SOLID)) |
928 dc.SetPen(wx.Pen(wx.BLACK, 2, wx.SOLID)) |
934 dc.SetBrush(wx.TRANSPARENT_BRUSH) |
929 dc.SetBrush(wx.TRANSPARENT_BRUSH) |
935 |
930 |
936 # Compiling coil type modifier symbol |
931 # Compiling coil type modifier symbol |