Пример #1
0
 def getScaleOptions():
     """
     Return list of scales for the current resolution.
     This list does not depend on what is set in SettingsWindow.
     :return: list of scales, for example: ['auto', 'x1', ...]
     """
     return graphics.getInterfaceScalesList(BigWorld.screenSize())
Пример #2
0
 def onUpdateStage(self):
     width, height = GUI.screenResolution()
     scaleLength = len(graphics.getInterfaceScalesList([width, height]))
     self._displayRoot.updateStage(width, height, scaleLength - 1)
 def getScaleOptions():
     return graphics.getInterfaceScalesList(BigWorld.screenSize())
Пример #4
0
 def onUpdateStage(self):
     width, height = GUI.screenResolution()
     scaleLength = len(graphics.getInterfaceScalesList([width, height]))
     self._displayRoot.updateStage(width, height, scaleLength - 1)
Пример #5
0
 def _updateStage(self):
     width, height = GUI.screenResolution()
     scaleLength = len(graphics.getInterfaceScalesList([width, height]))
     self.as_updateStageS(width, height, scaleLength - 1)