Refactored plugin system

This commit is contained in:
WerWolv
2021-01-12 16:50:15 +01:00
parent c09a8bca7f
commit 84a6fff034
15 changed files with 170 additions and 164 deletions

View File

@@ -313,8 +313,8 @@ namespace hex {
this->drawMathEvaluator();
this->drawColorPicker();
for (const auto& plugin : PluginHandler::getPlugins())
plugin.drawToolsEntry();
for (const auto& entries : ContentRegistry::Tools::getEntries())
entries();
}
ImGui::End();