mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
Refactored plugin system
This commit is contained in:
@@ -15,17 +15,9 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
IMHEX_PLUGIN {
|
||||
IMHEX_PLUGIN_SETUP {
|
||||
|
||||
View* createView() {
|
||||
return new ViewExample();
|
||||
}
|
||||
|
||||
void drawToolsEntry() {
|
||||
if (ImGui::CollapsingHeader("Example Tool")) {
|
||||
ImGui::Text("Custom Plugin tool");
|
||||
}
|
||||
}
|
||||
ContentRegistry::Views::add<ViewExample>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user