Seperate out each ship view in a seperate stage
This commit is contained in:
@@ -35,7 +35,18 @@ class ShipBrowser(wx.Panel):
|
||||
return fitID
|
||||
|
||||
|
||||
class ShipView(wx.ListCtrl):
|
||||
class ShipView(wx.Panel):
|
||||
def __init__(self, parent):
|
||||
wx.Panel.__init__(self, parent)
|
||||
headSizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.SetSizer(headSizer)
|
||||
|
||||
self.stage1 = Stage1(self)
|
||||
headSizer.Add(self.stage1)
|
||||
|
||||
self.currentStage = 1
|
||||
|
||||
class Stage1(wx.ListCtrl):
|
||||
def __init__(self, parent):
|
||||
wx.ListCtrl.__init__(self, parent, style=wx.LC_ICON | wx.LC_AUTOARRANGE | wx.LC_SINGLE_SEL | wx.LC_EDIT_LABELS)
|
||||
self.rename = False
|
||||
@@ -51,6 +62,9 @@ class ShipView(wx.ListCtrl):
|
||||
index = self.InsertImageStringItem(sys.maxint, name, iconId)
|
||||
self.SetItemData(index, id)
|
||||
|
||||
class Stage2(wx.ListCtrl):
|
||||
pass
|
||||
|
||||
class ShipMenu(wx.Panel):
|
||||
def __init__(self, parent):
|
||||
wx.Panel.__init__(self, parent)
|
||||
|
||||
Reference in New Issue
Block a user