Revamped language system right away again to allow plugins to use it

This commit is contained in:
WerWolv
2021-02-11 00:35:30 +01:00
parent 4a8e59a95b
commit 9227fba474
11 changed files with 90 additions and 54 deletions

View File

@@ -63,7 +63,10 @@ namespace hex {
static u32 patternPaletteOffset;
static std::string errorPopupMessage;
static std::list<ImHexApi::Bookmarks::Entry> bookmarkEntries;
static std::map<std::string, std::string> loadedLanguage;
static std::map<std::string, std::string> languageNames;
static std::map<std::string, std::vector<LanguageDefinition>> languageDefinitions;
static std::map<std::string, std::string> loadedLanguageStrings;
static imgui_addons::ImGuiFileBrowser fileBrowser;
static imgui_addons::ImGuiFileBrowser::DialogMode fileBrowserDialogMode;