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

Method saveSelectedWidget

Tools/LayoutEditor/WidgetSelectorManager.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 void WidgetSelectorManager::saveSelectedWidget()
150 {
151 if (mCurrentWidget != nullptr)
152 {
153 WidgetContainer* container = EditorWidgets::getInstance().find(mCurrentWidget);
154 if (container != nullptr)
155 container->setUserData(mStoreWidgetTag, mStoreWidgetTag);
156 }
157 }
158
159 void WidgetSelectorManager::restoreSelectedWidget()
160 {

Callers 4

notifyActionSkinMethod · 0.80
notifyActionTypeMethod · 0.80
notifyActionTemplateMethod · 0.80
initStateMethod · 0.80

Calls 2

findMethod · 0.45
setUserDataMethod · 0.45

Tested by 1

initStateMethod · 0.64