Example #1
0
        public virtual void onClickTrackNode(bool bClicked)
        {
            CCTextFieldTTF pTextField = (CCTextFieldTTF)m_pTrackNode;

            if (bClicked)
            {
                // TextFieldTTFTest be clicked
                Debug.WriteLine("TextFieldTTFActionTest:CCTextFieldTTF attachWithIME");
                pTextField.attachWithIME();
            }
            else
            {
                // TextFieldTTFTest not be clicked
                Debug.WriteLine("TextFieldTTFActionTest:CCTextFieldTTF detachWithIME");
                pTextField.detachWithIME();
            }
        }
        public virtual void onClickTrackNode(bool bClicked)
        {
            CCTextFieldTTF pTextField = (CCTextFieldTTF)m_pTrackNode;

            if (bClicked)
            {
                // TextFieldTTFTest be clicked
                CCLog.Log("TextFieldTTFDefaultTest:CCTextFieldTTF attachWithIME");
                pTextField.attachWithIME();
            }
            else
            {
                // TextFieldTTFTest not be clicked
                CCLog.Log("TextFieldTTFDefaultTest:CCTextFieldTTF detachWithIME");
                pTextField.detachWithIME();
            }
        }