Made MenuTest use a differently names labelatlas to avoid collision with fps_images.fnt/png.

This commit is contained in:
Nicolas Gramlich 2012-05-22 13:26:20 -07:00
parent ff71f07ac3
commit a62e017977
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ MenuLayerMainMenu::MenuLayerMainMenu()
CCMenuItem* item2 = CCMenuItemImage::itemWithNormalImage(s_SendScore, s_PressSendScore, this, menu_selector(MenuLayerMainMenu::menuCallback2) ); CCMenuItem* item2 = CCMenuItemImage::itemWithNormalImage(s_SendScore, s_PressSendScore, this, menu_selector(MenuLayerMainMenu::menuCallback2) );
// Label Item (LabelAtlas) // Label Item (LabelAtlas)
CCLabelAtlas* labelAtlas = CCLabelAtlas::labelWithString("0123456789", "fonts/fps_images.png", 16, 24, '.'); CCLabelAtlas* labelAtlas = CCLabelAtlas::labelWithString("0123456789", "fonts/labelatlas.png", 16, 24, '.');
CCMenuItemLabel* item3 = CCMenuItemLabel::itemWithLabel(labelAtlas, this, menu_selector(MenuLayerMainMenu::menuCallbackDisabled) ); CCMenuItemLabel* item3 = CCMenuItemLabel::itemWithLabel(labelAtlas, this, menu_selector(MenuLayerMainMenu::menuCallbackDisabled) );
item3->setDisabledColor( ccc3(32,32,64) ); item3->setDisabledColor( ccc3(32,32,64) );
item3->setColor( ccc3(200,200,255) ); item3->setColor( ccc3(200,200,255) );