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

Method getTitleText

core/ui/UIButton.cpp:744–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744std::string_view Button::getTitleText() const
745{
746 if (!_titleRenderer)
747 {
748 return "";
749 }
750
751 return _titleRenderer->getString();
752}
753
754void Button::setTitleColor(const Color3B& color)
755{

Callers 3

copySpecialPropertiesMethod · 0.45

Calls 1

getStringMethod · 0.45

Tested by

no test coverage detected