Updated tools api docs

WerWolv 2021-01-13 13:18:50 +01:00
parent 48f933a877
commit 6bcb02e998
1 changed files with 1 additions and 4 deletions

@ -64,11 +64,8 @@ Tools are usually some small features that are not big enough to need their own
#include <plugin.hpp> #include <plugin.hpp>
IMHEX_PLUGIN_SETUP { IMHEX_PLUGIN_SETUP {
ContentRegistry::Tools::add([] { ContentRegistry::Tools::add("My Fancy Tool", [] {
// Call into ImHex here to create your new tools interface // Call into ImHex here to create your new tools interface
if (ImGui::CollapsingHeader("My tool")) {
// ...
}
}); });
} }
``` ```