Correct some typos/mistakes in declarations

This commit is contained in:
dzl-ian 2014-07-29 13:47:21 +09:00
parent bc30519812
commit b8248a165b
2 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ TextVAlignment Text::getTextVerticalAlignment()const
return _labelRenderer->getVerticalAlignment();
}
void Text::setTextColor(Color4B color)
void Text::setTextColor(const Color4B color)
{
_labelRenderer->setTextColor(color);
}

View File

@ -161,9 +161,9 @@ public:
TextVAlignment getTextVerticalAlignment()const;
void setTextColor(Color4B color);
void setTextColor(const Color4B color);
const Color4B& getTextColor()const;
const Color4B& getTextColor() const;
/**
* Enable shadow for the label