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

Method loadSettings

Tools/SkinEditor/SettingsGeneralControl.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void SettingsGeneralControl::loadSettings()
39 {
40 mGridStep = SettingsManager::getInstance().getValue<int>("Settings/GridStep");
41 mGridEdit->setCaption(MyGUI::utility::toString(mGridStep));
42 mSaveLastTexture->setStateSelected(SettingsManager::getInstance().getValue<bool>("Settings/SaveLastTexture"));
43 setLanguageValue(SettingsManager::getInstance().getValue("Settings/InterfaceLanguage"));
44 }
45
46 void SettingsGeneralControl::saveSettings()
47 {

Callers

nothing calls this directly

Calls 4

toStringFunction · 0.85
setStateSelectedMethod · 0.80
setCaptionMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected