[ci skip]Remove unwanted code.

This commit is contained in:
WenhaiLin 2015-04-09 16:18:24 +08:00
parent 16bce0bfd3
commit c5ff21f7c6
1 changed files with 0 additions and 8 deletions

View File

@ -151,14 +151,6 @@ void TextFieldTTFDefaultTest::onEnter()
// add TextFieldTTF
auto s = Director::getInstance()->getWinSize();
std::string strSubtitle = subtitle();
TTFConfig ttfConfig;
ttfConfig.fontFilePath = FONT_NAME;
ttfConfig.fontSize = 16;
auto subTitle = Label::createWithTTF(ttfConfig, strSubtitle.c_str());
addChild(subTitle, 9999);
subTitle->setPosition(VisibleRect::center().x, VisibleRect::top().y - 60);
auto pTextField = TextFieldTTF::textFieldWithPlaceHolder("<click here for input>",
FONT_NAME,
FONT_SIZE);