refactor TextField setColor & setOpacity

This commit is contained in:
andyque 2014-06-06 16:10:33 +08:00
parent 5ae97da030
commit 282264575b
2 changed files with 1 additions and 18 deletions

View File

@ -800,21 +800,6 @@ std::string TextField::getDescription() const
return "TextField";
}
void TextField::updateTextureColor()
{
updateColorToRenderer(_textFieldRenderer);
}
void TextField::updateTextureOpacity()
{
updateOpacityToRenderer(_textFieldRenderer);
}
void TextField::updateTextureRGBA()
{
updateRGBAToRenderer(_textFieldRenderer);
}
void TextField::attachWithIME()
{
_textFieldRenderer->attachWithIME();

View File

@ -197,9 +197,7 @@ protected:
void insertTextEvent();
void deleteBackwardEvent();
virtual void onSizeChanged() override;
virtual void updateTextureColor() override;
virtual void updateTextureOpacity() override;
virtual void updateTextureRGBA() override;
void textfieldRendererScaleChangedWithSize();
virtual Widget* createCloneInstance() override;