Beispiel #1
0
	def Close(self):
		ServerStateChecker.Initialize(self)
		if musicInfo.loginMusic != "" and musicInfo.selectMusic != "":
			snd.FadeOutMusic("BGM/"+musicInfo.loginMusic)
	
		if self.stream.popupWindow:
			self.stream.popupWindow.Close()
		
		self.KillFocus()
		self.pwdEditLine.Enable()
		self.pwdEditLine = 0
		self.idEditLine.Enable()
		self.idEditLine = 0
		self.Hide()
		app.HideCursor()
		ime.ClearExceptKey()
Beispiel #2
0
    def Close(self):
        if musicInfo.loginMusic != "" and musicInfo.selectMusic != "":
            snd.FadeOutMusic("BGM/"+musicInfo.loginMusic)

        self.idEditLine.SetTabEvent(0)
        self.idEditLine.SetReturnEvent(0)
        self.pwdEditLine.SetReturnEvent(0)
        self.pwdEditLine.SetTabEvent(0)

        self.idEditLine = None
        self.pwdEditLine = None

        if self.stream.popupWindow:
            self.stream.popupWindow.Close()

        self.Hide()
        app.HideCursor()
        ime.ClearExceptKey()
Beispiel #3
0
	def Close(self):

		if self.connectingDialog:
			self.connectingDialog.Close()
		self.connectingDialog = None

		ServerStateChecker.Initialize(self)

		print "---------------------------------------------------------------------------- CLOSE LOGIN WINDOW "
		#
		# selectMusic이 없으면 BGM이 끊기므로 두개 다 체크한다. 
		#
		if musicInfo.loginMusic != "" and musicInfo.selectMusic != "":
			snd.FadeOutMusic("BGM/"+musicInfo.loginMusic)

		## NOTE : idEditLine와 pwdEditLine은 이벤트가 서로 연결 되어있어서
		##        Event를 강제로 초기화 해주어야만 합니다 - [levites]
		self.idEditLine.SetTabEvent(0)
		self.idEditLine.SetReturnEvent(0)
		self.pwdEditLine.SetReturnEvent(0)
		self.pwdEditLine.SetTabEvent(0)

		self.connectBoard = None
		self.loginBoard = None
		self.idEditLine = None
		self.pwdEditLine = None
		self.inputDialog = None
		self.connectingDialog = None
		self.loadingImage = None

		self.serverBoard				= None
		self.serverList					= None
		self.channelList				= None

		# RUNUP_MATRIX_AUTH
		self.matrixQuizBoard	= None
		self.matrixAnswerInput	= None
		self.matrixAnswerOK	= None
		self.matrixAnswerCancel	= None
		# RUNUP_MATRIX_AUTH_END

		# NEWCIBN_PASSPOD_AUTH
		self.passpodBoard	= None
		self.passpodAnswerInput	= None
		self.passpodAnswerOK	= None
		self.passpodAnswerCancel = None
		# NEWCIBN_PASSPOD_AUTH_END

		self.VIRTUAL_KEY_ALPHABET_LOWERS = None
		self.VIRTUAL_KEY_ALPHABET_UPPERS = None
		self.VIRTUAL_KEY_SYMBOLS = None
		self.VIRTUAL_KEY_NUMBERS = None

		# VIRTUAL_KEYBOARD_BUG_FIX
		if self.virtualKeyboard:
			for keyIndex in xrange(0, VIRTUAL_KEYBOARD_NUM_KEYS+1):
				key = self.GetChild2("key_%d" % keyIndex)
				if key:
					key.SetEvent(None)

			self.GetChild("key_space").SetEvent(None)
			self.GetChild("key_backspace").SetEvent(None)
			self.GetChild("key_enter").SetEvent(None)
			self.GetChild("key_shift").SetToggleDownEvent(None)
			self.GetChild("key_shift").SetToggleUpEvent(None)
			self.GetChild("key_at").SetToggleDownEvent(None)
			self.GetChild("key_at").SetToggleUpEvent(None)

			self.virtualKeyboard = None

		self.KillFocus()
		self.Hide()

		self.stream.popupWindow.Close()
		self.loginFailureFuncDict=None

		ime.ClearExceptKey()

		app.HideCursor()
Beispiel #4
0
    def Close(self):

        if self.connectingDialog:
            self.connectingDialog.Close()
        self.connectingDialog = None

        ServerStateChecker.Destroy(self)

        print "---------------------------------------------------------------------------- CLOSE LOGIN WINDOW "
        #
        # selectMusicÀÌ ŸøÀžžé BGMÀÌ ²÷±â¹Ç·Î µÎ°³ ŽÙ ÌũÇÑŽÙ.
        #
        if musicInfo.loginMusic != "" and musicInfo.selectMusic != "":
            snd.FadeOutMusic("BGM/" + musicInfo.loginMusic)

        ## NOTE : idEditLine¿Í pwdEditLineÀº À̺¥Æ®°¡ Œ­·Î ¿¬°á µÇŸîÀ֟
        ##        EventžŠ °­ÁŠ·Î ÃʱâÈ­ ÇØÁÖŸîŸßžž ÇÕŽÏŽÙ - [levites]
        self.idEditLine.SetTabEvent(0)
        self.idEditLine.SetReturnEvent(0)
        self.pwdEditLine.SetReturnEvent(0)
        self.pwdEditLine.SetTabEvent(0)

        self.connectBoard = None
        self.loginBoard = None
        self.BGBoard = None
        self.idEditLine = None
        self.pwdEditLine = None
        self.inputDialog = None
        self.connectingDialog = None
        self.loadingImage = None

        self.serverBoard = None
        self.serverList = None
        self.channelList = None

        # RUNUP_MATRIX_AUTH
        self.matrixQuizBoard = None
        self.matrixAnswerInput = None
        self.matrixAnswerOK = None
        self.matrixAnswerCancel = None
        # RUNUP_MATRIX_AUTH_END

        # NEWCIBN_PASSPOD_AUTH
        self.passpodBoard = None
        self.passpodAnswerInput = None
        self.passpodAnswerOK = None
        self.passpodAnswerCancel = None
        # NEWCIBN_PASSPOD_AUTH_END

        self.VIRTUAL_KEY_ALPHABET_LOWERS = None
        self.VIRTUAL_KEY_ALPHABET_UPPERS = None
        self.VIRTUAL_KEY_SYMBOLS = None
        self.VIRTUAL_KEY_NUMBERS = None

        # VIRTUAL_KEYBOARD_BUG_FIX

        self.KillFocus()
        self.Hide()

        self.stream.popupWindow.Close()
        self.loginFailureFuncDict = None

        ime.ClearExceptKey()

        app.HideCursor()