MCPcopy Create free account
hub / github.com/MyGUI/mygui / ~FontTryControl

Method ~FontTryControl

Tools/FontEditor/FontTryControl.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 FACTORY_ITEM_ATTRIBUTE(FontTryControl)
22
23 FontTryControl::~FontTryControl()
24 {
25 DataSelectorManager::getInstance().getEvent("Root")->disconnect(this);
26
27 SettingsManager::getInstance().setValue("Controls/TryFontControl/Text", mEdit->getCaption());
28 }
29
30 void FontTryControl::OnInitialise(Control* _parent, MyGUI::Widget* _place, std::string_view _layoutName)
31 {

Callers

nothing calls this directly

Calls 3

disconnectMethod · 0.45
getEventMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected