def __init__(self):
self.onLayoutFinish = [ ]
- pass
+ self.summaries = [ ]
def createGUIScreen(self, parent, desktop):
- for (name, val) in self.items():
+ for val in self.values() + self.renderer:
if isinstance(val, GUIComponent):
val.GUIcreate(parent)
val.applySkin(desktop)
else:
f()
-
-
def deleteGUIScreen(self):
for (name, val) in self.items():
if isinstance(val, GUIComponent):
def close(self):
self.deleteGUIScreen()
+
+ def createSummary(self):
+ return None
+
+ def addSummary(self, summary):
+ self.summaries.append(summary)
+
+ def removeSummary(self, summary):
+ self.summaries.remove(summary)
+
+ def setTitle(self, title):
+ self.instance.setTitle(title)
+ self.title = title
+
+ for x in self.summaries:
+ x.setTitle(title)