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

Method getClearValue

Tools/EditorFramework/PropertyFloatControl.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
toStringFunction · 0.85
getOnlyTextMethod · 0.45

Tested by

no test coverage detected