| 148 | } |
| 149 | |
| 150 | void TextFieldTTFDefaultTest::onClickTrackNode(bool bClicked, const Vec2& touchPos) |
| 151 | { |
| 152 | auto pTextField = (TextFieldTTF*)_trackNode; |
| 153 | if (bClicked) |
| 154 | { |
| 155 | // TextFieldTTFTest be clicked |
| 156 | AXLOGD("TextFieldTTFDefaultTest:TextFieldTTF attachWithIME"); |
| 157 | pTextField->attachWithIME(); |
| 158 | } |
| 159 | else |
| 160 | { |
| 161 | // TextFieldTTFTest not be clicked |
| 162 | AXLOGD("TextFieldTTFDefaultTest:TextFieldTTF detachWithIME"); |
| 163 | pTextField->detachWithIME(); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | void TextFieldTTFDefaultTest::onEnter() |
| 168 | { |
no test coverage detected