mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Move ColorPicker shaders to ColorPickerShape class
This commit is contained in:
parent
084d5d407e
commit
a07bd3fd31
5 changed files with 129 additions and 127 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue