Beispiel #1
0
 def createSlot(self, name, slot):
     x = slot * 40
     self.data[name] = {
         'text': '',
         'x': x,
         'y': 0,
         'tooltip': '',
         'index': 1,
         'multiline': True
     }
     g_guiFlash.createComponent(name, COMPONENT_TYPE.LABEL, self.data[name])
 def createObject(self, name, type):
     g_guiFlash.createComponent(name, type, self.data[name] if '.slot' not in name else self.data['slot'])