diff options
author | hnOsmium0001 <[email protected]> | 2022-04-25 20:32:25 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-25 20:32:25 -0700 |
commit | e826894632f59c214c309d934843c49d73103612 (patch) | |
tree | 5ece9f0fb9f06576c6f0f4c5838c6655bce99e84 /source/AppConfig.hpp | |
parent | f54370de7e4214cb7813d26b1a39a8f6e42b7b56 (diff) |
Replace EditorCommandPalette.hpp/cpp with the copy from P6503
Diffstat (limited to 'source/AppConfig.hpp')
-rw-r--r-- | source/AppConfig.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/AppConfig.hpp b/source/AppConfig.hpp index b6c1fab..d797708 100644 --- a/source/AppConfig.hpp +++ b/source/AppConfig.hpp @@ -1,5 +1,6 @@ #pragma once +#include <imgui.h> #include <filesystem> #include <string> @@ -12,6 +13,10 @@ inline float mainWidnowWidth; inline float mainWindowHeight; inline float mainWindowAspectRatio; +// TODO add a bold font +inline ImFont* fontRegular = nullptr; +inline ImFont* fontBold = nullptr; + // Duplicate each as path and string so that on non-UTF-8 platforms (e.g. Windows) we can easily do string manipulation on the paths // NOTE: even though non-const, these should not be modified outside of main() inline std::filesystem::path dataDirPath; |