Пример #1
0
 def EndTransition(self, fromView, toView):
     sm.GetService('loading').FadeOut(self.fadeOutTimeMS, opacityStart=1.0)
     uicore.animations.FadeOut(self.fadeLayer,
                               duration=self.fadeOutTimeMS / 1000.0,
                               sleep=True)
     self.fadeLayer.Close()
     del self.fadeLayer
     Transition.EndTransition(self, fromView, toView)
Пример #2
0
 def EndTransition(self, fromView, toView):
     if toView.name == 'hangar':
         if self.transitionReason == 'clone':
             self.cloning.EndTransition(fromView, toView)
         else:
             self.hangarDock.EndTransition(fromView, toView)
     elif toView.name == 'station':
         if self.transitionReason == 'clone':
             self.cloning.EndTransition(fromView, toView)
         self.cqDock.EndTransition(fromView, toView)
     Transition.EndTransition(self, fromView, toView)
Пример #3
0
    def EndTransition(self, fromView, toView):
        sm.GetService('audio').SendUIEvent('transition_pod_reanimate')
        self.notifyContainer.Close()
        sm.GetService('loading').FadeOut(500)
        duration = max(blue.os.desiredSimDilation, 0.3) * 2
        self.AnimateUIIn(duration=duration)
        Transition.EndTransition(self, fromView, toView)
        for notificationTypeID in self.DELAYED_NOTIFICATIONS:
            sm.GetService('notificationSvc').ProcessDelayedNotifications(notificationTypeID)

        from eve.client.script.ui.shared.dockedUI import GetLobbyClass
        lobby = GetLobbyClass().GetIfOpen()
        if lobby:
            lobby.BlinkButton('medical')
Пример #4
0
 def EndTransition(self, fromView, toView):
     Transition.EndTransition(self, fromView, toView)
     sm.GetService('loading').FadeOut(self.fadeOutTimeMS, opacityStart=1.0)
Пример #5
0
 def EndTransition(self, fromView, toView):
     Transition.EndTransition(self, fromView, toView)
     uthread.new(self._EndTransition)
Пример #6
0
 def EndTransition(self, fromView, toView):
     if self.transitionReason == 'clone':
         self.cloning.EndTransition(fromView, toView)
     else:
         self.dock.EndTransition(fromView, toView)
     Transition.EndTransition(self, fromView, toView)
Пример #7
0
 def EndTransition(self, fromView, toView):
     Transition.EndTransition(self, fromView, toView)
     sm.GetService('loading').FadeFromBlack(self.fadeOutTimeMS)