修改窗口背景色:

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));

相关文章:

  • 2021-08-27
  • 2021-12-15
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-11-13
猜你喜欢
  • 2022-02-07
  • 2021-11-20
  • 2021-04-27
  • 2021-06-15
  • 2021-04-06
  • 2021-12-02
相关资源
相似解决方案