ux: Added interface to choose encoding files more easily

This commit is contained in:
WerWolv
2022-01-23 21:52:43 +01:00
parent 9cf7fc4a2e
commit 49610f59ea
10 changed files with 73 additions and 38 deletions

View File

@@ -71,6 +71,11 @@ namespace hex {
static std::list<ImHexApi::Bookmarks::Entry> bookmarkEntries;
static std::vector<pl::PatternData*> patternData;
static u32 selectableFileIndex;
static std::vector<fs::path> selectableFiles;
static std::function<void(fs::path)> selectableFileOpenCallback;
static std::vector<nfdfilteritem_t> selectableFilesValidExtensions;
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;