feat: Integrate the interactive help option and add a help text for every view

This commit is contained in:
WerWolv
2025-11-30 16:42:01 +01:00
parent 989f7f7678
commit 9ae233a41c
46 changed files with 204 additions and 9 deletions

View File

@@ -19,6 +19,7 @@ namespace hex::plugin::disasm {
~ViewDisassembler() override;
void drawContent() override;
void drawHelpText() override;
private:
TaskHolder m_disassemblerTask;

View File

@@ -308,4 +308,9 @@ namespace hex::plugin::disasm {
}
}
void ViewDisassembler::drawHelpText() {
ImGuiExt::TextFormattedWrapped("This view lets you disassemble byte regions into assembly instructions of various different architectures.");
ImGui::NewLine();
ImGuiExt::TextFormattedWrapped("Select the desired Architecture from the tabs in the settings panel and configure its options as needed. Clicking the \"Disassemble\" button will disassemble the selected region (or the entire data if no region is selected) and display the resulting instructions in a table below.");
}
}