MCPcopy Create free account
hub / github.com/MyGUI/mygui / getClearValue

Method getClearValue

Tools/EditorFramework/PropertyInt4Control.cpp:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 MyGUI::UString PropertyInt4Control::getClearValue()
80 {
81 MyGUI::UString value = mEdit->getOnlyText();
82
83 int value1 = 0;
84 int value2 = 0;
85 int value3 = 0;
86 int value4 = 0;
87 if (MyGUI::utility::parseComplex(value, value1, value2, value3, value4))
88 return MyGUI::utility::toString(value1, " ", value2, " ", value3, " ", value4);
89
90 return {};
91 }
92
93 void PropertyInt4Control::setColour(bool _validate)
94 {

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
toStringFunction · 0.85
getOnlyTextMethod · 0.45

Tested by

no test coverage detected