aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUIMaskedFlag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic-extension/classes/GUIMaskedFlag.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GUIMaskedFlag.hpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUIMaskedFlag.hpp b/extension/src/openvic-extension/classes/GUIMaskedFlag.hpp
new file mode 100644
index 0000000..4bdc6c1
--- /dev/null
+++ b/extension/src/openvic-extension/classes/GUIMaskedFlag.hpp
@@ -0,0 +1,34 @@
+#pragma once
+
+#include "openvic-extension/classes/GFXMaskedFlagTexture.hpp"
+#include "openvic-extension/classes/GUITextureRect.hpp"
+
+namespace OpenVic {
+ class GUIMaskedFlag : public GUITextureRect {
+ GDCLASS(GUIMaskedFlag, GUITextureRect)
+
+ godot::Ref<GFXMaskedFlagTexture> gfx_masked_flag_texture;
+
+ protected:
+ static void _bind_methods();
+
+ public:
+ godot::Error set_gfx_masked_flag(GFX::MaskedFlag const* gfx_masked_flag);
+
+ godot::Ref<GFXMaskedFlagTexture> get_gfx_masked_flag_texture() const;
+
+ godot::Error set_gfx_masked_flag_name(godot::String const& gfx_masked_flag_name);
+
+ godot::String get_gfx_masked_flag_name() const;
+
+ godot::Error set_flag_country_name_and_type(
+ godot::String const& flag_country_name, godot::StringName const& flag_type
+ ) const;
+
+ godot::Error set_flag_country_name(godot::String const& flag_country_name) const;
+
+ godot::String get_flag_country_name() const;
+
+ godot::String get_flag_type() const;
+ };
+}