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

Method onCheckValue

Tools/LayoutEditor/PropertyFieldPosition.cpp:119–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 bool PropertyFieldPosition::onCheckValue()
120 {
121 bool success = true;
122
123 if (EditorWidgets::getInstance().find(mCurrentWidget)->getRelativeMode())
124 success = utility::checkParse<float>(mField, 4);
125 else
126 success = utility::checkParse<int>(mField, 4);
127
128 return success;
129 }
130
131 MyGUI::IntSize PropertyFieldPosition::getContentSize()
132 {

Callers

nothing calls this directly

Calls 2

getRelativeModeMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected