Move ColorPicker shaders to ColorPickerShape class

This commit is contained in:
Mounir Tohami 2025-09-10 15:28:29 +03:00
parent 084d5d407e
commit a07bd3fd31
5 changed files with 129 additions and 127 deletions

View file

@ -168,11 +168,6 @@ public:
};
private:
static inline Ref<Shader> wheel_shader;
static inline Ref<Shader> circle_shader;
static inline Ref<Shader> circle_ok_color_shader;
static inline Ref<Shader> rectangle_ok_color_hs_shader;
static inline Ref<Shader> rectangle_ok_color_hl_shader;
static inline List<Color> preset_cache;
static inline List<Color> recent_preset_cache;
@ -434,9 +429,6 @@ public:
HSlider *get_slider(int idx);
Vector<float> get_active_slider_values();
static void init_shaders();
static void finish_shaders();
void add_mode(ColorMode *p_mode);
void add_shape(ColorPickerShape *p_shape);