GraphicViewer.py
changeset 415 d3d8f8f0b678
parent 374 16a0a6cb1644
child 416 897ba122460e
equal deleted inserted replaced
412:e0a6a5952d13 415:d3d8f8f0b678
   142               size=wx.Size(72, 24), style=0)
   142               size=wx.Size(72, 24), style=0)
   143         self.Bind(wx.EVT_BUTTON, self.OnCurrentButton, id=ID_GRAPHICVIEWERCURRENTBUTTON)
   143         self.Bind(wx.EVT_BUTTON, self.OnCurrentButton, id=ID_GRAPHICVIEWERCURRENTBUTTON)
   144         
   144         
   145         self._init_sizers()
   145         self._init_sizers()
   146 
   146 
   147     def __init__(self, parent, window, controler, instancepath = ""):
   147     def __init__(self, parent, window, producer, instancepath = ""):
   148         self._init_ctrls(parent)
   148         self._init_ctrls(parent)
   149         DebugViewer.__init__(self, controler, True, False)
   149         DebugViewer.__init__(self, producer, True, False)
   150         
   150         
   151         self.ParentWindow = window
   151         self.ParentWindow = window
   152         self.Controler = controler
       
   153         self.InstancePath = instancepath
   152         self.InstancePath = instancepath
   154 
   153 
   155         self.Datas = []
   154         self.Datas = []
   156         self.CurrentValue = 0
   155         self.CurrentValue = 0
   157         self.CurrentRange = 25
   156         self.CurrentRange = 25