1
0
mirror of synced 2024-12-01 02:37:18 +01:00

fix: Added missing ImHex paths to about page

This commit is contained in:
WerWolv 2024-03-26 19:18:34 +01:00
parent 966a780432
commit 8d08ab20ec

View File

@ -448,23 +448,25 @@ namespace hex::plugin::builtin {
{ "Patterns Includes", fs::ImHexPath::PatternsInclude }, { "Patterns Includes", fs::ImHexPath::PatternsInclude },
{ "Magic", fs::ImHexPath::Magic }, { "Magic", fs::ImHexPath::Magic },
{ "Plugins", fs::ImHexPath::Plugins }, { "Plugins", fs::ImHexPath::Plugins },
{ "Libraries", fs::ImHexPath::Libraries },
{ "Yara Patterns", fs::ImHexPath::Yara }, { "Yara Patterns", fs::ImHexPath::Yara },
{ "Yara Advaned Analysis", fs::ImHexPath::YaraAdvancedAnalysis },
{ "Config", fs::ImHexPath::Config }, { "Config", fs::ImHexPath::Config },
{ "Backups", fs::ImHexPath::Backups },
{ "Resources", fs::ImHexPath::Resources }, { "Resources", fs::ImHexPath::Resources },
{ "Constants lists", fs::ImHexPath::Constants }, { "Constants lists", fs::ImHexPath::Constants },
{ "Custom encodings", fs::ImHexPath::Encodings }, { "Custom encodings", fs::ImHexPath::Encodings },
{ "Logs", fs::ImHexPath::Logs }, { "Logs", fs::ImHexPath::Logs },
{ "Recent files", fs::ImHexPath::Recent }, { "Recent files", fs::ImHexPath::Recent },
{ "Scripts", fs::ImHexPath::Scripts }, { "Scripts", fs::ImHexPath::Scripts },
{ "Data inspector scripts", fs::ImHexPath::Inspectors },
{ "Themes", fs::ImHexPath::Themes }, { "Themes", fs::ImHexPath::Themes },
{ "Native Libraries", fs::ImHexPath::Libraries },
{ "Custom data processor nodes", fs::ImHexPath::Nodes },
{ "Layouts", fs::ImHexPath::Layouts }, { "Layouts", fs::ImHexPath::Layouts },
{ "Workspaces", fs::ImHexPath::Workspaces }, { "Workspaces", fs::ImHexPath::Workspaces },
{ "Backups", fs::ImHexPath::Backups },
{ "Data inspector scripts", fs::ImHexPath::Inspectors },
{ "Custom data processor nodes", fs::ImHexPath::Nodes }
} }
}; };
static_assert(PathTypes.back().first != nullptr, "All path items need to be populated!");
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2()); ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2());
ImGuiExt::BeginSubWindow("Paths", ImGui::GetContentRegionAvail()); ImGuiExt::BeginSubWindow("Paths", ImGui::GetContentRegionAvail());