Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
This commit is contained in:
@ -693,6 +693,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
||||
|
||||
// File Dialog
|
||||
|
||||
theme->set_icon("load", "FileDialog", icons["load"]);
|
||||
theme->set_icon("save", "FileDialog", icons["save"]);
|
||||
theme->set_icon("clear", "FileDialog", icons["clear"]);
|
||||
theme->set_icon("parent_folder", "FileDialog", icons["folder_up"]);
|
||||
theme->set_icon("back_folder", "FileDialog", icons["arrow_left"]);
|
||||
theme->set_icon("forward_folder", "FileDialog", icons["arrow_right"]);
|
||||
@ -1034,6 +1037,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
||||
theme->set_constant("label_width", "ColorPicker", Math::round(10 * scale));
|
||||
theme->set_constant("center_slider_grabbers", "ColorPicker", 1);
|
||||
|
||||
theme->set_icon("menu_option", "ColorPicker", icons["tabs_menu_hl"]);
|
||||
theme->set_icon("folded_arrow", "ColorPicker", icons["arrow_right"]);
|
||||
theme->set_icon("expanded_arrow", "ColorPicker", icons["arrow_down"]);
|
||||
theme->set_icon("screen_picker", "ColorPicker", icons["color_picker_pipette"]);
|
||||
|
||||
Reference in New Issue
Block a user