diff options
Diffstat (limited to 'scene/gui/color_picker.h')
| -rw-r--r-- | scene/gui/color_picker.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/gui/color_picker.h b/scene/gui/color_picker.h index 7d1a554ad..6b63e5fe6 100644 --- a/scene/gui/color_picker.h +++ b/scene/gui/color_picker.h @@ -118,12 +118,16 @@ class ColorPickerButton : public Button { PopupPanel *popup; ColorPicker *picker; + Color color; + bool edit_alpha; void _color_changed(const Color &p_color); void _modal_closed(); virtual void pressed(); + void _update_picker(); + protected: void _notification(int); static void _bind_methods(); @@ -135,7 +139,7 @@ public: void set_edit_alpha(bool p_show); bool is_editing_alpha() const; - ColorPicker *get_picker() const; + ColorPicker *get_picker(); PopupPanel *get_popup() const; ColorPickerButton(); |
