MCPcopy Create free account
hub / github.com/axmolengine/axmol / setPlaceholderColor

Method setPlaceholderColor

core/ui/UITextFieldEx.cpp:768–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768void TextFieldEx::setPlaceholderColor(const Color4B& color)
769{
770 _colorSpaceHolder = color;
771 if (_inputText.empty())
772 _renderLabel->setTextColor(color);
773}
774
775//////////////////////////////////////////////////////////////////////////
776// properties

Callers 1

Calls 2

emptyMethod · 0.45
setTextColorMethod · 0.45

Tested by

no test coverage detected