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

Method widgetsUpdate

Tools/LayoutEditor/MainMenuControl.cpp:73–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void MainMenuControlLE::widgetsUpdate()
74 {
75 bool print_name = SettingsManager::getInstance().getValue<bool>("Settings/ShowName");
76 bool print_type = SettingsManager::getInstance().getValue<bool>("Settings/ShowType");
77 bool print_skin = SettingsManager::getInstance().getValue<bool>("Settings/ShowSkin");
78
79 mPopupMenuWidgets->removeAllItems();
80
81 EnumeratorWidgetContainer widget = EditorWidgets::getInstance().getWidgets();
82 while (widget.next())
83 createWidgetPopup(widget.current(), mPopupMenuWidgets, print_name, print_type, print_skin);
84 }
85
86 void MainMenuControlLE::createWidgetPopup(
87 WidgetContainer* _container,

Callers

nothing calls this directly

Calls 4

getWidgetsMethod · 0.80
removeAllItemsMethod · 0.45
nextMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected