Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-06 15:24:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-06 15:24:43 +0400
commit27da686aece8940aedcd99ac9f8a08f63af7f539 (patch)
treed7a9cf04429eefba8580323f984209e80d73fffe /source/blender/makesrna
parentf058a3dd42aa5f6f42f650436d8d41aa52ad9cce (diff)
use icons for rgb colors
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_space.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 48ae6522da9..d5bac7a8c26 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2852,9 +2852,10 @@ static void rna_def_space_node(BlenderRNA *brna)
{SNODE_USE_ALPHA, "COLOR_ALPHA", ICON_IMAGE_RGB_ALPHA, "Color and Alpha",
"Draw image with RGB colors and alpha transparency"},
{SNODE_SHOW_ALPHA, "ALPHA", ICON_IMAGE_ALPHA, "Alpha", "Draw alpha transparency channel"},
- {SNODE_SHOW_R, "RED", 0, "Red", ""},
- {SNODE_SHOW_G, "GREEN", 0, "Green", ""},
- {SNODE_SHOW_B, "BLUE", 0, "Blue", ""},
+ /* XXX, we could use better icons here */
+ {SNODE_SHOW_R, "RED", ICON_COLOR, "Red", ""},
+ {SNODE_SHOW_G, "GREEN", ICON_COLOR, "Green", ""},
+ {SNODE_SHOW_B, "BLUE", ICON_COLOR, "Blue", ""},
{0, NULL, 0, NULL, NULL}
};