aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUIProgressBar.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic-extension/classes/GUIProgressBar.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GUIProgressBar.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUIProgressBar.hpp b/extension/src/openvic-extension/classes/GUIProgressBar.hpp
new file mode 100644
index 0000000..130ac91
--- /dev/null
+++ b/extension/src/openvic-extension/classes/GUIProgressBar.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <godot_cpp/classes/texture_progress_bar.hpp>
+
+#include "openvic-simulation/interface/GFXSprite.hpp"
+
+namespace OpenVic {
+ class GUIProgressBar : public godot::TextureProgressBar {
+ GDCLASS(GUIProgressBar, godot::TextureProgressBar)
+
+ protected:
+ static void _bind_methods();
+
+ public:
+ godot::Error set_gfx_progress_bar(GFX::ProgressBar const* progress_bar);
+ };
+}