GraphicViewer.py
changeset 431 c1c92d068ac5
parent 411 9ab97d517ae8
parent 416 897ba122460e
child 504 f88e0ebd8fe4
equal deleted inserted replaced
411:9ab97d517ae8 431:c1c92d068ac5
   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