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:
parent
24d74510e5
commit
2eded468f9
9 changed files with 59 additions and 72 deletions
|
|
@ -1053,6 +1053,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
theme->set_icon("overbright_indicator", "ColorPicker", icons["color_picker_overbright"]);
|
||||
theme->set_icon("bar_arrow", "ColorPicker", icons["color_picker_bar_arrow"]);
|
||||
theme->set_icon("picker_cursor", "ColorPicker", icons["color_picker_cursor"]);
|
||||
theme->set_icon("picker_cursor_bg", "ColorPicker", icons["color_picker_cursor_bg"]);
|
||||
|
||||
{
|
||||
const int precision = 7;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue