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

Method notifySelectWidgetType

Tools/LayoutEditor/WidgetsWindow.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void WidgetsWindow::notifySelectWidgetType(MyGUI::Widget* _sender)
98 {
99 SkinInfo data = getCellData(_sender);
100
101 if (getCellSelected(_sender))
102 WidgetCreatorManager::getInstance().resetCreatorInfo();
103 else
104 WidgetCreatorManager::getInstance().setCreatorInfo(data.widget_type, data.widget_skin);
105 }
106
107 void WidgetsWindow::notifyToolTip(MyGUI::Widget* _sender, const MyGUI::ToolTipInfo& _info)
108 {

Callers

nothing calls this directly

Calls 2

resetCreatorInfoMethod · 0.80
setCreatorInfoMethod · 0.80

Tested by

no test coverage detected