graphics/SFC_Objects.py
changeset 1758 845ca626db09
parent 1757 0de89da92ee0
child 1768 691083b5682a
equal deleted inserted replaced
1757:0de89da92ee0 1758:845ca626db09
   585         self.Type = None
   585         self.Type = None
   586         self.Id = id
   586         self.Id = id
   587         self.Priority = 0
   587         self.Priority = 0
   588         self.Size = wx.Size(SFC_TRANSITION_SIZE[0], SFC_TRANSITION_SIZE[1])
   588         self.Size = wx.Size(SFC_TRANSITION_SIZE[0], SFC_TRANSITION_SIZE[1])
   589         # Create an input and output connector
   589         # Create an input and output connector
   590         self.Input =  Connector(self, "", None, wx.Point(self.Size[0] / 2, 0),            NORTH, onlyone=True)
   590         self.Input = Connector(self,  "", None, wx.Point(self.Size[0] / 2, 0),            NORTH, onlyone=True)
   591         self.Output = Connector(self, "", None, wx.Point(self.Size[0] / 2, self.Size[1]), SOUTH, onlyone=True)
   591         self.Output = Connector(self, "", None, wx.Point(self.Size[0] / 2, self.Size[1]), SOUTH, onlyone=True)
   592         self.SetType(type, condition)
   592         self.SetType(type, condition)
   593         self.SetPriority(priority)
   593         self.SetPriority(priority)
   594         self.Highlights = {}
   594         self.Highlights = {}
   595         self.PreviousValue = None
   595         self.PreviousValue = None