diff --git a/src/GPFeedbackLayer.hpp b/src/GPFeedbackLayer.hpp index 07053df..4f8739f 100644 --- a/src/GPFeedbackLayer.hpp +++ b/src/GPFeedbackLayer.hpp @@ -167,7 +167,7 @@ class GPFeedbackLayer : public CCLayer { descBg->setContentSize(CCPoint(winSize.width * 0.6, winSize.height * 0.5)); descBg->setID("descBg"); descBg->setZOrder(1); - descBg->setColor(ccColor3B(0, 0, 0)); + descBg->setColor({0, 0, 0}); descBg->setOpacity(60); this->addChild(descBg); diff --git a/src/GPIconSaveLayer.hpp b/src/GPIconSaveLayer.hpp index 6be7585..dfc45d0 100644 --- a/src/GPIconSaveLayer.hpp +++ b/src/GPIconSaveLayer.hpp @@ -169,7 +169,7 @@ class GPFeedbackLayer : public CCLayer { descBg->setContentSize(CCPoint(winSize.width * 0.6, winSize.height * 0.5)); descBg->setID("descBg"); descBg->setZOrder(1); - descBg->setColor(ccColor3B(0, 0, 0)); + descBg->setColor({0, 0, 0}); descBg->setOpacity(60); this->addChild(descBg);