issue #1246:use CCLabelBMFont instead of CCLabelTTF in CCDirector.cpp

This commit is contained in:
minggo 2012-05-24 10:48:39 +08:00
parent 119abc6194
commit 0ba62c3854
6 changed files with 6 additions and 8 deletions

View File

@ -1 +0,0 @@
abc899cd55086105f439df7a6d01db84168aebb5

View File

@ -1 +1 @@
3ffb5ef04b897f971e1e9c941002d06e5a91da50
6463956a32bf45c476904160aa23da947b30e0c1

View File

@ -1 +0,0 @@
abc899cd55086105f439df7a6d01db84168aebb5

View File

@ -1 +1 @@
92dc1f3cb8db6691dae94a502b38db89e5293d2d
4573789c928b734a05fb2766677b230a8a497ee5

View File

@ -718,9 +718,9 @@ void CCDirector::createStatsLabel()
CC_SAFE_RELEASE_NULL(m_pSPFLabel);
CC_SAFE_RELEASE_NULL(m_pDrawsLabel);
m_pFPSLabel = CCLabelBMFont::labelWithString("00.0", "fonts/fps_images.fnt");
m_pSPFLabel = CCLabelBMFont::labelWithString("0.000", "fonts/fps_images.fnt");
m_pDrawsLabel = CCLabelBMFont::labelWithString("000", "fonts/fps_images.fnt");
m_pFPSLabel = CCLabelBMFont::labelWithString("00.0", "fps_images.fnt");
m_pSPFLabel = CCLabelBMFont::labelWithString("0.000", "fps_images.fnt");
m_pDrawsLabel = CCLabelBMFont::labelWithString("000", "fps_images.fnt");
m_pFPSLabel->retain();
m_pSPFLabel->retain();

View File

@ -1 +1 @@
9189dbb79a9d878a265d10ad5834bcae8a1ce1b5
0db65c0bf802f20d588ccc6b3b7204dd1941abc9