Deprecate updown icon

This commit is contained in:
kobewi 2025-07-17 22:12:42 +02:00
parent f92f1ce9c0
commit 917f8b1ba8
3 changed files with 19 additions and 9 deletions

View file

@ -102,7 +102,6 @@ class SpinBox : public Range {
inline int _get_widest_button_icon_width();
struct ThemeCache {
Ref<Texture2D> updown_icon;
Ref<Texture2D> up_icon;
Ref<Texture2D> up_hover_icon;
Ref<Texture2D> up_pressed_icon;
@ -137,6 +136,8 @@ class SpinBox : public Range {
int field_and_buttons_separation = 0;
int buttons_width = 0;
#ifndef DISABLE_DEPRECATED
Ref<Texture2D> updown_icon;
bool is_updown_assigned = false;
bool set_min_buttons_width_from_icons = false;
#endif
} theme_cache;