From 6bcb02e998d5962e391090b4297afaefca640125 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 13 Jan 2021 13:18:50 +0100 Subject: [PATCH] Updated tools api docs --- Plugins-Development-Guide.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Plugins-Development-Guide.md b/Plugins-Development-Guide.md index 9fcad58..6d70cf3 100644 --- a/Plugins-Development-Guide.md +++ b/Plugins-Development-Guide.md @@ -64,11 +64,8 @@ Tools are usually some small features that are not big enough to need their own #include IMHEX_PLUGIN_SETUP { - ContentRegistry::Tools::add([] { + ContentRegistry::Tools::add("My Fancy Tool", [] { // Call into ImHex here to create your new tools interface - if (ImGui::CollapsingHeader("My tool")) { - // ... - } }); } ```