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.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUIProgressBar.hpp b/extension/src/openvic-extension/classes/GUIProgressBar.hpp
index 130ac91..11b677a 100644
--- a/extension/src/openvic-extension/classes/GUIProgressBar.hpp
+++ b/extension/src/openvic-extension/classes/GUIProgressBar.hpp
@@ -3,15 +3,22 @@
#include <godot_cpp/classes/texture_progress_bar.hpp>
#include "openvic-simulation/interface/GFXSprite.hpp"
+#include "openvic-extension/classes/GUIHasTooltip.hpp"
namespace OpenVic {
class GUIProgressBar : public godot::TextureProgressBar {
GDCLASS(GUIProgressBar, godot::TextureProgressBar)
+ GUI_TOOLTIP_DEFINITIONS
+
protected:
static void _bind_methods();
+ void _notification(int what);
+
public:
+ GUIProgressBar();
+
godot::Error set_gfx_progress_bar(GFX::ProgressBar const* progress_bar);
};
}