aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUIMaskedFlag.hpp
blob: 4bdc6c15c78bf003f5a78b56ff4f0522781baf64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
   };
}