本文整理汇总了Python中gui.Scaleform.windows.UIInterface类的典型用法代码示例。如果您正苦于以下问题:Python UIInterface类的具体用法?Python UIInterface怎么用?Python UIInterface使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UIInterface类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, parentUI):
UIInterface.__init__(self)
self.__ui = parentUI
self.__timeInterval = None
self.__performanceStats = _PerformanceStats()
self.__performanceStats.populateUI(parentUI)
return
示例2: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
self.GUICtrl.script = self
for state in self.ALL_SHORTCUTS:
self.GUICtrl.setState(state)
list = self.__getDataForFlash(state)
self.GUICtrl.buildData(list)
示例3: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
sm = self.uiHolder.movie.soundManager
sm.script = self
try:
self.sounds.load()
except Exception:
LOG_ERROR('There is error while loading sounds xml data')
LOG_CURRENT_EXCEPTION()
示例4: __init__
def __init__(self, parentUI):
UIInterface.__init__(self)
self.proxy = proxy(self)
self.GUICtrl = None
self.__parentUI = parentUI
self.__settings = None
self.__currentTarget = None
self.__currentVehicleDesc = None
self.__showed = False
示例5: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
self.GUICtrl.script = self
for state in self.ALL_SHORTCUTS:
self.GUICtrl.setState(state)
list = self.__getDataForFlash(state)
self.GUICtrl.buildData(list)
g_eventBus.addListener(GameEvent.RADIAL_MENU_CMD, self.__handleRadialMenuCmd, scope=EVENT_BUS_SCOPE.BATTLE)
示例6: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
self.GUICtrl.script = self
for state in self.ALL_SHORTCUTS:
self.GUICtrl.setState(state)
list = self.__getDataForFlash(state)
self.GUICtrl.buildData(list)
g_eventBus.addListener(GameEvent.RADIAL_MENU_CMD, self.__handleRadialMenuCmd, scope=EVENT_BUS_SCOPE.BATTLE)
ctrl = g_sessionProvider.dynamic.respawn
if ctrl is not None:
ctrl.onRespawnVisibilityChanged += self.__onRespawnVisibilityChanged
return
示例7: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
self.flashObject = self.uiHolder.getMember('_level0.debugPanel')
self.flashObject.script = self
示例8: dispossessUI
def dispossessUI(self):
self.uiHolder.movie.soundManager.script = None
UIInterface.dispossessUI(self)
示例9: __init__
def __init__(self):
UIInterface.__init__(self)
self.__flashDP = None
return
示例10: dispossessUI
def dispossessUI(self):
self.uiHolder.removeExternalCallbacks('%s.RequestLength' % self.__prefix, '%s.RequestItemAt' % self.__prefix, '%s.RequestItemRange' % self.__prefix)
UIInterface.dispossessUI(self)
示例11: populateUI
def populateUI(self, proxy):
UIInterface.populateUI(self, proxy)
self.uiHolder.addExternalCallbacks({'%s.RequestLength' % self.__prefix: self.onRequestLength,
'%s.RequestItemAt' % self.__prefix: self.onRequestItemAt,
'%s.RequestItemRange' % self.__prefix: self.onRequestItemRange})