| 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, |
nothing calls this directly
no test coverage detected