aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-03-20 23:48:47 +0100
committer hop311 <hop3114@gmail.com>2024-03-20 23:48:47 +0100
commit8299a896d7658ffe86272ea0b21b8e5f7c600510 (patch)
tree711e838d6b9a69324d71f441d0a648aaaa59ebee /extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp
parentf8af17618e9f24dd6833ecaab64bf968cca2ec15 (diff)
Add selected button state
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp b/extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp
index b57ea46..d97ca2b 100644
--- a/extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp
+++ b/extension/src/openvic-extension/classes/GFXButtonStateTexture.hpp
@@ -32,6 +32,7 @@ namespace OpenVic {
HOVER,
PRESSED,
DISABLED,
+ SELECTED,
BUTTON_STATE_COUNT
};
@@ -62,8 +63,8 @@ namespace OpenVic {
godot::Vector2i const& new_cornered_tile_border_size
);
- static godot::StringName const& button_state_to_theme_name(ButtonState button_state);
- godot::StringName const& get_button_state_theme() const;
+ static godot::StringName const& button_state_to_name(ButtonState button_state);
+ godot::StringName const& get_button_state_name() const;
};
class GFXButtonStateHavingTexture : public GFXCorneredTileSupportingTexture {