Slider: add set/is_editable
This commit is contained in:
parent
159b1fc65f
commit
0c66078bcb
6 changed files with 37 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ class Slider : public Range {
|
|||
bool mouse_inside;
|
||||
Orientation orientation;
|
||||
float custom_step;
|
||||
bool editable;
|
||||
|
||||
protected:
|
||||
void _gui_input(Ref<InputEvent> p_event);
|
||||
|
|
@ -65,6 +66,9 @@ public:
|
|||
void set_ticks_on_borders(bool);
|
||||
bool get_ticks_on_borders() const;
|
||||
|
||||
void set_editable(bool p_editable);
|
||||
bool is_editable() const;
|
||||
|
||||
Slider(Orientation p_orientation = VERTICAL);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue