mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
Updated tools api docs
@@ -64,11 +64,8 @@ Tools are usually some small features that are not big enough to need their own
|
||||
#include <plugin.hpp>
|
||||
|
||||
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")) {
|
||||
// ...
|
||||
}
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user