當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。