diff options
author | rtk0c <[email protected]> | 2022-04-25 20:32:25 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-25 20:32:25 -0700 |
commit | 7fa7840be1093f194031d2d5d9b45ada8613e72e (patch) | |
tree | 50f27a16084d652dee58e7867ffe3f7e3ec477ec /source/AppConfig.hpp | |
parent | 855da86feae1a5cc14dc2d486ccf115f484dbc2e (diff) |
Changeset: 17 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; |