graphics/SFC_Objects.py
changeset 1754 63f4af6bf6d9
parent 1744 69dfdb26f600
child 1757 0de89da92ee0
equal deleted inserted replaced
1753:19f19c66b67e 1754:63f4af6bf6d9
   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