diff options
author | hop311 <hop3114@gmail.com> | 2024-08-04 23:22:57 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-08-04 23:22:57 +0200 |
commit | 2314a9b6c48eab47cc776d08ef7d155f9bea423d (patch) | |
tree | 2581b276b6b0f6f26d8e9d67755cf9cc21556f82 /src/openvic-simulation/interface/GFXSprite.cpp | |
parent | 3c07aa7a890e82d1ba28bdc3bbb1a8f9896f25d1 (diff) |
Load font colour codesfont-colour-codes
Diffstat (limited to 'src/openvic-simulation/interface/GFXSprite.cpp')
-rw-r--r-- | src/openvic-simulation/interface/GFXSprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/interface/GFXSprite.cpp b/src/openvic-simulation/interface/GFXSprite.cpp index 992a1ff..8acb8d4 100644 --- a/src/openvic-simulation/interface/GFXSprite.cpp +++ b/src/openvic-simulation/interface/GFXSprite.cpp @@ -6,9 +6,9 @@ using namespace OpenVic::NodeTools; Font::Font( std::string_view new_identifier, colour_argb_t new_colour, std::string_view new_fontname, std::string_view new_charset, - uint32_t new_height + uint32_t new_height, colour_codes_t&& new_colour_codes ) : HasIdentifierAndAlphaColour { new_identifier, new_colour, false }, fontname { new_fontname }, charset { new_charset }, - height { new_height } {} + height { new_height }, colour_codes { std::move(new_colour_codes) } {} node_callback_t Sprite::expect_sprites(length_callback_t length_callback, callback_t<std::unique_ptr<Sprite>&&> callback) { return expect_dictionary_keys_and_length( |