mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improvements to vector fields, show axis in color with a background
This commit is contained in:
parent
43dc050947
commit
911febb41f
4 changed files with 136 additions and 9 deletions
|
|
@ -70,6 +70,9 @@ class EditorSpinSlider : public Range {
|
|||
bool hide_slider;
|
||||
bool flat;
|
||||
|
||||
bool use_custom_label_color;
|
||||
Color custom_label_color;
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _gui_input(const Ref<InputEvent> &p_event);
|
||||
|
|
@ -92,6 +95,8 @@ public:
|
|||
void set_flat(bool p_enable);
|
||||
bool is_flat() const;
|
||||
|
||||
void set_custom_label_color(bool p_use_custom_label_color, Color p_custom_label_color);
|
||||
|
||||
virtual Size2 get_minimum_size() const;
|
||||
EditorSpinSlider();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue