MCPcopy Create free account
hub / github.com/dfranx/SHADERed / ShowCustomMenu

Method ShowCustomMenu

src/SHADERed/Objects/PluginManager.cpp:1255–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253 }
1254 }
1255 void PluginManager::ShowCustomMenu()
1256 {
1257 for (int i = 0; i < m_plugins.size(); i++)
1258 if (m_plugins[i]->HasCustomMenuItem())
1259 if (ImGui::BeginMenu(m_names[i].c_str())) {
1260 m_plugins[i]->ShowMenuItems("custom");
1261 ImGui::EndMenu();
1262 }
1263 }
1264 void PluginManager::ShowOptions(const std::string& searchString)
1265 {
1266 std::string qLower = searchString;

Callers 1

UpdateMethod · 0.80

Calls 2

ShowMenuItemsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected