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

Method initialise

Tools/EditorFramework/TexturePropertyInitialisator.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14 void TexturePropertyInitialisator::initialise(PropertyPtr _property)
15 {
16 if (SettingsManager::getInstance().getValue<bool>("Settings/SaveLastTexture"))
17 {
18 std::string texture = SettingsManager::getInstance().getValue("Resources/LastTextureName");
19 _property->setValue(texture);
20 }
21 }
22
23}

Callers

nothing calls this directly

Calls 2

getValueMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected