summaryrefslogtreecommitdiff
path: root/include/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.hpp')
-rw-r--r--include/config.hpp21
1 files changed, 15 insertions, 6 deletions
diff --git a/include/config.hpp b/include/config.hpp
index 9598841..df99ab2 100644
--- a/include/config.hpp
+++ b/include/config.hpp
@@ -16,10 +16,8 @@
#pragma once
-// major.minor.patch
-#define PROGRAM_VERSION "0.1.0"
-
#include "stdint.h"
+#include "imgui.h"
#define s8 int8_t
#define s16 int16_t
@@ -31,7 +29,18 @@
#define u32 uint32_t
#define u64 uint64_t
-extern const char* country_codes[];
-extern s32 country_count;
+namespace config {
+ static const char* PROGRAM_VERSION = "0.1.0"; // major.minor.patch
+
+ static const char* country_codes[] = {
+ "AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR",
+ "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL",
+ "PL", "PT", "RO", "SK", "SI", "ES", "SE"
+ };
+
+ static s32 country_count = sizeof(country_codes) / sizeof(country_codes[0]);
-#define COLOR_ERROR_OUTLINE IM_COL32(255, 0, 0, 80) \ No newline at end of file
+ namespace colors {
+ static const ImU32 COLOR_ERROR_OUTLINE = IM_COL32(255, 0, 0, 80);
+ }
+} \ No newline at end of file