diff options
author | rtk0c <[email protected]> | 2022-05-30 17:03:20 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-05-30 17:03:20 -0700 |
commit | e66286ebe30afc9acc4531fc2bea29b7fb924f93 (patch) | |
tree | fa6b76554c3eb88bc8f088fbab68e20c40118ca7 /source/AppConfig.hpp | |
parent | 366ef5a5450c6e0e680c924c3454943a9ae9814d (diff) |
Changeset: 56 Buildsystem cleanup: change to layered structure for different targets
Diffstat (limited to 'source/AppConfig.hpp')
-rw-r--r-- | source/AppConfig.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/AppConfig.hpp b/source/AppConfig.hpp deleted file mode 100644 index 794bee5..0000000 --- a/source/AppConfig.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#include <imgui.h> -#include <filesystem> -#include <string> - -namespace AppConfig { -constexpr std::string_view kAppName = "ProjectBrussel"; -// Since kAppName is initialized by a C string literal, we know it's null termianted -constexpr const char* kAppNameC = kAppName.data(); - -inline float mainWindowWidth; -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; -inline std::string dataDir; -inline std::filesystem::path assetDirPath; -inline std::string assetDir; -} // namespace AppConfig |