mirror of https://github.com/axmolengine/axmol.git
Correct some typos/mistakes in declarations
This commit is contained in:
parent
bc30519812
commit
b8248a165b
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ public:
|
|||
|
||||
TextVAlignment getTextVerticalAlignment()const;
|
||||
|
||||
void setTextColor(Color4B color);
|
||||
void setTextColor(const Color4B color);
|
||||
|
||||
const Color4B& getTextColor() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue