graphics/LD_Objects.py
changeset 269 34eff05909b0
parent 254 27abdcf9a460
child 283 c4199b88cf60
--- a/graphics/LD_Objects.py	Thu Sep 11 14:55:49 2008 +0200
+++ b/graphics/LD_Objects.py	Fri Sep 12 16:23:40 2008 +0200
@@ -764,6 +764,10 @@
             typetext = "S"
         elif self.Type == COIL_RESET:
             typetext = "R"
+        elif self.Type == COIL_RISING:
+            typetext = "P"
+        elif self.Type == COIL_FALLING:
+            typetext = "N"
         if typetext != "":
             self.TypeSize = self.Parent.GetTextExtent(typetext)
         else:
@@ -903,6 +907,10 @@
             typetext = "S"
         elif self.Type == COIL_RESET:
             typetext = "R"
+        elif self.Type == COIL_RISING:
+            typetext = "P"
+        elif self.Type == COIL_FALLING:
+            typetext = "N"
         
         if getattr(dc, "printing", False) and not isinstance(dc, wx.PostScriptDC):
             # Draw an clipped ellipse for representing the coil