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

Method getColor

core/ui/UIRichText.cpp:766–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764MyXMLVisitor::~MyXMLVisitor() {}
765
766Color3B MyXMLVisitor::getColor() const
767{
768 for (auto i = _fontElements.rbegin(), iRend = _fontElements.rend(); i != iRend; ++i)
769 {
770 if (i->hasColor)
771 return i->color;
772 }
773 return Color3B::WHITE;
774}
775
776float MyXMLVisitor::getFontSize() const
777{

Callers 9

ProgressTimer.cppFile · 0.45
setOpacityModifyRGBMethod · 0.45
startWithTargetMethod · 0.45
setEnabledMethod · 0.45
copyPropertiesMethod · 0.45
PageViewIndicatorClass · 0.45
UITextFieldEx.cppFile · 0.45
UIScrollView.cppFile · 0.45

Calls 2

rbeginMethod · 0.45
rendMethod · 0.45

Tested by

no test coverage detected