diff options
| author | MarianoGNU | 2015-11-21 02:51:42 -0300 |
|---|---|---|
| committer | MarianoGNU | 2016-01-15 17:23:19 -0300 |
| commit | dc7755ffcd1e275b065d3acfcc7696697097567b (patch) | |
| tree | a5027419f9c675edf205bd611692b7733a0edfc8 /scene/resources/default_theme/default_theme.cpp | |
| parent | 3c6dd5749d445f082fc925a34cc0a26f8d342304 (diff) | |
| download | godot-dc7755ffcd1e275b065d3acfcc7696697097567b.tar.gz godot-dc7755ffcd1e275b065d3acfcc7696697097567b.tar.zst godot-dc7755ffcd1e275b065d3acfcc7696697097567b.zip | |
Add a visual editor to color picker.
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
| -rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 3 |
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 f0b3519b4..842dbb154 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -766,7 +766,8 @@ 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 ) ); // TooltipPanel |
