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

Method setTextColor

core/ui/UITextFieldEx.cpp:741–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void TextFieldEx::setTextColor(const Color4B& color)
742{
743 _colorText = color;
744 if (!_inputText.empty())
745 _renderLabel->setTextColor(_colorText);
746}
747
748const Color4B& TextFieldEx::getTextColor(void) const
749{

Callers 5

deleteBackwardMethod · 0.45
handleDeleteKeyEventMethod · 0.45
setPlaceholderColorMethod · 0.45
setStringMethod · 0.45
setPlaceholderTextMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected