mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-01-24 05:29:08 -06:00
Added Plugin support (#102)
* Build refactoring and initial plugin support * Possibly fixed linux / mac build * Added libdl to libglad build script * Add glfw to imgui dependencies * Refactored common functionality into "libimhex" for plugins * Added plugin loading and example plugin * Added proper API for creating a custom view and a custom tools entry with plugins
This commit is contained in:
@@ -48,7 +48,7 @@ namespace hex {
|
||||
return false;
|
||||
}
|
||||
|
||||
void ViewPatternData::createView() {
|
||||
void ViewPatternData::drawContent() {
|
||||
if (ImGui::Begin("Pattern Data", &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse)) {
|
||||
if (this->m_dataProvider != nullptr && this->m_dataProvider->isReadable()) {
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace hex {
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
void ViewPatternData::createMenu() {
|
||||
void ViewPatternData::drawMenu() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user