diff options
Diffstat (limited to 'scene/gui/color_picker.h')
-rw-r--r-- | scene/gui/color_picker.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/gui/color_picker.h b/scene/gui/color_picker.h index 6c91575893..03b1c97ea3 100644 --- a/scene/gui/color_picker.h +++ b/scene/gui/color_picker.h @@ -99,6 +99,10 @@ private: static List<Color> preset_cache; static List<Color> recent_preset_cache; +#ifdef TOOLS_ENABLED + Object *editor_settings = nullptr; +#endif + int current_slider_count = SLIDER_COUNT; static const int MODE_BUTTON_COUNT = 3; @@ -224,6 +228,10 @@ protected: static void _bind_methods(); public: +#ifdef TOOLS_ENABLED + void set_editor_settings(Object *p_editor_settings); +#endif + HSlider *get_slider(int idx); Vector<float> get_active_slider_values(); |