mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Added tooltips for section view and export buttons
This commit is contained in:
@@ -1156,6 +1156,7 @@ namespace hex::plugin::builtin {
|
||||
patternDrawer->draw(patterns, &runtime, 150_scaled);
|
||||
};
|
||||
}
|
||||
ImGui::SetTooltip("hex.builtin.view.pattern_editor.sections.view"_lang);
|
||||
ImGui::SameLine();
|
||||
if (ImGuiExt::DimmedIconButton(ICON_VS_SAVE_AS, ImGui::GetStyleColorVec4(ImGuiCol_Text))) {
|
||||
fs::openFileBrowser(fs::DialogMode::Save, {}, [id, &runtime](const auto &path) {
|
||||
@@ -1168,6 +1169,7 @@ namespace hex::plugin::builtin {
|
||||
file.writeVector(runtime.getSection(id));
|
||||
});
|
||||
}
|
||||
ImGui::SetTooltip("hex.builtin.view.pattern_editor.sections.export"_lang);
|
||||
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user