mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
feat: Integrate the interactive help option and add a help text for every view
This commit is contained in:
@@ -19,6 +19,7 @@ namespace hex::plugin::disasm {
|
||||
~ViewDisassembler() override;
|
||||
|
||||
void drawContent() override;
|
||||
void drawHelpText() override;
|
||||
|
||||
private:
|
||||
TaskHolder m_disassemblerTask;
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user