29 #ifndef BUTTON_ARRAY_H 30 #define BUTTON_ARRAY_H 32 #include "scene/gui/control.h" 47 Orientation orientation;
54 mutable int _ms_cache;
55 mutable int _pos_cache;
56 mutable int _size_cache;
61 double min_button_size;
70 void _notification(
int p_what);
71 static void _bind_methods();
78 void set_align(Align p_align);
79 Align get_align()
const;
81 void add_button(
const String& p_button);
84 void set_button_text(
int p_button,
const String& p_text);
85 void set_button_icon(
int p_button,
const Ref<Texture>& p_icon);
88 String get_button_text(
int p_button)
const;
91 int get_selected()
const;
92 int get_hovered()
const;
93 void set_selected(
int p_selected);
95 int get_button_count()
const;
97 void erase_button(
int p_button);
100 virtual Size2 get_minimum_size()
const;
102 virtual void get_translatable_strings(
List<String> *p_strings)
const;
123 #endif // BUTTON_ARRAY_H
Definition: string_db.h:48