Add ColorPicker cursor background and reuse the cursor for wheel.
Add a cursor's background to fill the picker cursor. Unhardcode the wheel radius. Reuse the picker cursor image for the HSV wheel.
This commit is contained in:
@ -127,6 +127,7 @@ private:
|
||||
|
||||
int current_slider_count = SLIDER_COUNT;
|
||||
static const int MODE_BUTTON_COUNT = 3;
|
||||
const float WHEEL_RADIUS = 0.42;
|
||||
|
||||
bool slider_theme_modified = true;
|
||||
|
||||
@ -263,6 +264,7 @@ private:
|
||||
Ref<Texture2D> sample_revert;
|
||||
Ref<Texture2D> overbright_indicator;
|
||||
Ref<Texture2D> picker_cursor;
|
||||
Ref<Texture2D> picker_cursor_bg;
|
||||
Ref<Texture2D> color_hue;
|
||||
|
||||
/* Mode buttons */
|
||||
|
||||
Reference in New Issue
Block a user