mirror of https://github.com/WerWolv/ImHex.git
Updated tools api docs
parent
48f933a877
commit
6bcb02e998
|
@ -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")) {
|
|
||||||
// ...
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue