aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/interface/UI.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-08-19 23:17:13 +0200
committer hop311 <hop3114@gmail.com>2024-08-19 23:17:13 +0200
commit2ee5e74365fb6214b4c6a1a14ebc54d00e36288f (patch)
tree02893ccea513ef56d66e8ac6080885eb018a7950 /src/openvic-simulation/interface/UI.hpp
parent53bf0ac14be0fd7a049306d6e20c01030916fdc6 (diff)
Store universal colour codes (first loaded)universal-colour-codes
Diffstat (limited to 'src/openvic-simulation/interface/UI.hpp')
-rw-r--r--src/openvic-simulation/interface/UI.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvic-simulation/interface/UI.hpp b/src/openvic-simulation/interface/UI.hpp
index 32dba9c..8ba7745 100644
--- a/src/openvic-simulation/interface/UI.hpp
+++ b/src/openvic-simulation/interface/UI.hpp
@@ -8,6 +8,7 @@ namespace OpenVic {
class UIManager {
NamedInstanceRegistry<GFX::Sprite> IDENTIFIER_REGISTRY(sprite);
IdentifierRegistry<GFX::Font> IDENTIFIER_REGISTRY(font);
+ GFX::Font::colour_codes_t PROPERTY(universal_colour_codes);
NamedInstanceRegistry<GFX::Object> IDENTIFIER_REGISTRY(object);
NamedInstanceRegistry<GUI::Scene, UIManager const&> IDENTIFIER_REGISTRY(scene);