标签:color os ar sp c ef r bs app
修改窗口背景色:
1、只需要在AppDelegate的设置FPS后面加入一行glClearColor(r, g, b, 1.0);
2、修改CCDirector.cpp里CCDirector::setGLDefaultValues(void)里的glClearColor(r, g, b, 1.0);
修改字体颜色:
CCLabelTTF* pLabelCourse = CCLabelTTF::create(courseStr, "Arial", 24)
pLabelCourse->setColor(ccc3(126, 126, 126));
标签:color os ar sp c ef r bs app
原文地址:http://www.cnblogs.com/C-Plus-Plus/p/3985899.html