[ci skip]Remove unwanted code.

This commit is contained in:
WenhaiLin 2015-04-09 16:23:29 +08:00
parent c5ff21f7c6
commit f502c5900b
1 changed files with 1 additions and 13 deletions

View File

@ -18,19 +18,7 @@ void TextureAtlasEncryptionDemo::onEnter()
TestCase::onEnter();
auto s = Director::getInstance()->getWinSize();
auto label = Label::createWithTTF(title().c_str(), "fonts/arial.ttf", 28);
label->setPosition( Vec2(s.width/2, s.height * 0.75f) );
this->addChild(label, 1);
std::string strSubtitle = subtitle();
if(strSubtitle.empty() == false)
{
auto subLabel = Label::createWithTTF(strSubtitle.c_str(), "fonts/Thonburi.ttf", 16);
subLabel->setPosition( Vec2(s.width/2, s.height-80) );
this->addChild(subLabel, 1);
}
// Load the non-encrypted atlas
SpriteFrameCache::getInstance()->addSpriteFramesWithFile("Images/nonencryptedAtlas.plist", "Images/nonencryptedAtlas.pvr.ccz");