5 #include <unordered_map>
7 namespace fs = std::filesystem;
36 static fs::path getInstallBaseDir();
39 static ImFont*&
getFont(std::string_view name);
42 static void loadFonts();
45 inline static std::unordered_map<std::string_view, ImFont *> m_fonts{};
static ImFont *& getFont(std::string_view name)
Returns ImFont by name.
static fs::path getAppDataDir()
static fs::path getLogsDir()
static fs::path getResourcesDir()
Returns path to res/ folder Example: /home//Enigma/res/.
static fs::path getDatabaseFilepath()