update pc show msg

This commit is contained in:
cw 2014-03-21 11:56:21 +08:00
parent e58270b099
commit 8a40fbc159
1 changed files with 9 additions and 1 deletions

View File

@ -169,7 +169,15 @@ public:
addChild(label, 9999);
label->setPosition( Point(VisibleRect::center().x, VisibleRect::top().y - 30) );
auto labelwait = LabelTTF::create("wait transfer files ...", "Arial", 22);
string strShowMsg ="";
if (CC_PLATFORM_WIN32 == CC_TARGET_PLATFORM || CC_PLATFORM_MAC == CC_TARGET_PLATFORM)
{
strShowMsg = "waiting for debugger to connect ...";
}else
{
strShowMsg = "waiting for file transfer ...";
}
auto labelwait = LabelTTF::create(strShowMsg.c_str(), "Arial", 22);
addChild(labelwait, 10000);
labelwait->setPosition( Point(VisibleRect::center().x, VisibleRect::center().y) );