aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/utility/UITools.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-02-02 21:19:21 +0100
committer hop311 <hop3114@gmail.com>2024-02-19 20:17:31 +0100
commit1455861632cd50f48f6e8ef8c50004087eff36f1 (patch)
tree5ce200d70f5f12d76dfd489ed06a6bb88204fd1c /extension/src/openvic-extension/utility/UITools.hpp
parent576986af57db806af284bbc05a799e72f113f35c (diff)
Basic Nation Management Screen frameworknation-management-screens
Diffstat (limited to 'extension/src/openvic-extension/utility/UITools.hpp')
-rw-r--r--extension/src/openvic-extension/utility/UITools.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/utility/UITools.hpp b/extension/src/openvic-extension/utility/UITools.hpp
index 65cf17a..6092853 100644
--- a/extension/src/openvic-extension/utility/UITools.hpp
+++ b/extension/src/openvic-extension/utility/UITools.hpp
@@ -7,12 +7,13 @@
namespace OpenVic::UITools {
GFX::Sprite const* get_gfx_sprite(godot::String const& gfx_sprite);
- GUI::Element const* get_gui_element(godot::String const& gui_file, godot::String const& gui_element);
+ GUI::Element const* get_gui_element(godot::String const& gui_scene, godot::String const& gui_element);
+ GUI::Position const* get_gui_position(godot::String const& gui_scene, godot::String const& gui_position);
bool generate_gui_element(
GUI::Element const* element, godot::String const& name, godot::Control*& result
);
bool generate_gui_element(
- godot::String const& gui_file, godot::String const& gui_element, godot::String const& name, godot::Control*& result
+ godot::String const& gui_scene, godot::String const& gui_element, godot::String const& name, godot::Control*& result
);
}