aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/default_theme.cpp
diff options
context:
space:
mode:
authorMarianoGNU2015-12-23 23:17:09 -0300
committerMarianoGNU2016-01-15 17:23:19 -0300
commitad2387f0be9552976f209d418bf8e99805f547ce (patch)
tree7cadb7e315cdde2a8ddb1ddafc099243efe3355e /scene/resources/default_theme/default_theme.cpp
parent1f3d6824c8db30cd5636aaa3978a953bedff4ed8 (diff)
downloadgodot-ad2387f0be9552976f209d418bf8e99805f547ce.tar.gz
godot-ad2387f0be9552976f209d418bf8e99805f547ce.tar.zst
godot-ad2387f0be9552976f209d418bf8e99805f547ce.zip
Add presets.
Also fix some bugs. Fix a crash and a minor bug
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r--scene/resources/default_theme/default_theme.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 2d6039ca4..f713b9e97 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -773,8 +773,9 @@ void make_default_theme() {
t->set_constant("color_width","ColorPicker", 100);
t->set_constant("label_width","ColorPicker", 20);
t->set_constant("hseparator","ColorPicker", 4);
-
+
t->set_icon("screen_picker","ColorPicker", make_icon( icon_color_pick_png ) );
+ t->set_icon("add_preset","ColorPicker", make_icon( icon_add_png ) );
t->set_shader("uv_editor", "ColorPicker", make_shader("", uv_editor_shader_code, ""));
t->set_shader("w_editor", "ColorPicker", make_shader("", w_editor_shader_code, ""));