change setFontSize from int to float

This commit is contained in:
andyque 2014-03-20 14:14:02 +08:00
parent 957eb9363e
commit 8a409db1b6
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ int LabelTTF::getFontSize() const
return _renderLabel->getFontSize();
}
void LabelTTF::setFontSize(int fontSize)
void LabelTTF::setFontSize(float fontSize)
{
_renderLabel->setFontSize(fontSize);
_contentDirty = true;

View File

@ -131,7 +131,7 @@ public:
void setDimensions(const Size &dim);
int getFontSize() const;
void setFontSize(int fontSize);
void setFontSize(float fontSize);
const std::string& getFontName() const;
void setFontName(const std::string& fontName);