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

Method notifyNewGridStep

Tools/FontEditor/SettingsGeneralControl.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void SettingsGeneralControl::notifyNewGridStep(MyGUI::Widget* _sender, MyGUI::Widget* _new)
54 {
55 mGridStep = MyGUI::utility::parseInt(mGridEdit->getOnlyText());
56 mGridStep = (std::max)(1, mGridStep);
57 mGridEdit->setCaption(MyGUI::utility::toString(mGridStep));
58 }
59
60 void SettingsGeneralControl::notifyNewGridStepAccept(MyGUI::EditBox* _sender)
61 {

Callers

nothing calls this directly

Calls 4

parseIntFunction · 0.85
toStringFunction · 0.85
getOnlyTextMethod · 0.45
setCaptionMethod · 0.45

Tested by

no test coverage detected