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,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
|
||||
|
|
Loading…
Reference in New Issue