aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUIScrollbar.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-03-20 23:49:37 +0100
committer hop311 <hop3114@gmail.com>2024-03-20 23:49:37 +0100
commit0cd976341792ea30ca41e09d9c238e4e342402cd (patch)
treebb1e7fbe1e9f2c082ca82318911a09191455fd04 /extension/src/openvic-extension/classes/GUIScrollbar.hpp
parent8299a896d7658ffe86272ea0b21b8e5f7c600510 (diff)
GUIListBox rework (internal scrollbar, fixed mode, no child data vector)pop-menu
Diffstat (limited to 'extension/src/openvic-extension/classes/GUIScrollbar.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GUIScrollbar.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUIScrollbar.hpp b/extension/src/openvic-extension/classes/GUIScrollbar.hpp
index c5b476a..16b2e00 100644
--- a/extension/src/openvic-extension/classes/GUIScrollbar.hpp
+++ b/extension/src/openvic-extension/classes/GUIScrollbar.hpp
@@ -93,6 +93,8 @@ namespace OpenVic {
godot::String get_gui_scrollbar_name() const;
void set_value(int32_t new_value, bool signal = true);
+ void increment_value(bool signal = true);
+ void decrement_value(bool signal = true);
float get_value_as_ratio() const;
void set_value_as_ratio(float new_ratio, bool signal = true);