aboutsummaryrefslogtreecommitdiff
path: root/source/AppConfig.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-25 20:32:25 -0700
committerhnOsmium0001 <[email protected]>2022-04-25 20:32:25 -0700
commite826894632f59c214c309d934843c49d73103612 (patch)
tree5ece9f0fb9f06576c6f0f4c5838c6655bce99e84 /source/AppConfig.hpp
parentf54370de7e4214cb7813d26b1a39a8f6e42b7b56 (diff)
Replace EditorCommandPalette.hpp/cpp with the copy from P6503
Diffstat (limited to 'source/AppConfig.hpp')
-rw-r--r--source/AppConfig.hpp5
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;