mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Deprecate updown icon
This commit is contained in:
parent
f92f1ce9c0
commit
917f8b1ba8
3 changed files with 19 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue