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

Method getClearValue

Tools/EditorFramework/PropertyInt2Control.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
toStringFunction · 0.85
getOnlyTextMethod · 0.45

Tested by

no test coverage detected