当前位置: 首页>>代码示例>>Python>>正文


Python windows.UIInterface类代码示例

本文整理汇总了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
开发者ID:webiumsk,项目名称:WOT0.10.0,代码行数:7,代码来源:battle.py

示例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)
开发者ID:webiumsk,项目名称:WoT,代码行数:8,代码来源:radialmenu.py

示例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()
开发者ID:Infernux,项目名称:Projects,代码行数:9,代码来源:soundmanager.py

示例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
开发者ID:kblw,项目名称:wot_client,代码行数:9,代码来源:radialmenu.py

示例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)
开发者ID:aevitas,项目名称:wotsdk,代码行数:10,代码来源:battleradialmenu.py

示例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
开发者ID:aevitas,项目名称:wotsdk,代码行数:14,代码来源:legacyradialmenu.py

示例7: populateUI

 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.flashObject = self.uiHolder.getMember('_level0.debugPanel')
     self.flashObject.script = self
开发者ID:webiumsk,项目名称:WOT0.10.0,代码行数:4,代码来源:battle.py

示例8: dispossessUI

 def dispossessUI(self):
     self.uiHolder.movie.soundManager.script = None
     UIInterface.dispossessUI(self)
开发者ID:Infernux,项目名称:Projects,代码行数:3,代码来源:soundmanager.py

示例9: __init__

 def __init__(self):
     UIInterface.__init__(self)
     self.__flashDP = None
     return
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:4,代码来源:data_providers.py

示例10: dispossessUI

 def dispossessUI(self):
     self.uiHolder.removeExternalCallbacks('%s.RequestLength' % self.__prefix, '%s.RequestItemAt' % self.__prefix, '%s.RequestItemRange' % self.__prefix)
     UIInterface.dispossessUI(self)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:3,代码来源:data_providers.py

示例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})
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:5,代码来源:data_providers.py


注:本文中的gui.Scaleform.windows.UIInterface类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。