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:
authorTon Roosendaal <ton@blender.org>2006-01-04 15:13:13 +0300
committerTon Roosendaal <ton@blender.org>2006-01-04 15:13:13 +0300
commit3153a238b38573e77fd277abca927d77c8bcce4a (patch)
treebb4c628956e9c67851e6a4e6fd37cfc06ba975a6 /source/blender/src/resources.c
parentbd26fe8f94dd0f8ee558df1e7c877eba3db912be (diff)
Orange: more Node goodies;
- New Node: "Mapping". Allows input vector to be translated, rotated and scaled. And optional be clipped to a range. Works for colors too! - The button "Normal" now allows incremental input, so a click in the button won't change the normal anymore - Connecting wires now show selection state for Nodes, with nice blended colors. Both colors were added in Themes, but default to black and white
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r--source/blender/src/resources.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c
index 6056e0f2bd4..a5dbe1a5ba2 100644
--- a/source/blender/src/resources.c
+++ b/source/blender/src/resources.c
@@ -480,6 +480,7 @@ void BIF_InitTheme(void)
/* space node, re-uses syntax color storage */
btheme->tnode= btheme->tv3d;
+ SETCOL(btheme->tnode.edge_select, 255, 255, 255, 255);
SETCOL(btheme->tnode.syntaxl, 150, 150, 150, 255); /* TH_NODE, backdrop */
SETCOL(btheme->tnode.syntaxn, 95, 110, 145, 255); /* in/output */
SETCOL(btheme->tnode.syntaxb, 135, 125, 120, 255); /* operator */
@@ -614,8 +615,10 @@ char *BIF_ThemeColorsPup(int spacetype)
sprintf(str, "Grid %%x%d|", TH_GRID); strcat(cp, str);
}
else if(spacetype==SPACE_NODE) {
+ sprintf(str, "Wires %%x%d|", TH_WIRE); strcat(cp, str);
+ sprintf(str, "Wires Select %%x%d|", TH_EDGE_SELECT); strcat(cp, str);
strcat(cp,"%l|");
- sprintf(str, "Node backdrop %%x%d|", TH_NODE); strcat(cp, str);
+ sprintf(str, "Node Backdrop %%x%d|", TH_NODE); strcat(cp, str);
sprintf(str, "In/Out Node %%x%d|", TH_NODE_IN_OUT); strcat(cp, str);
sprintf(str, "Generator Node %%x%d|", TH_NODE_GENERATOR); strcat(cp, str);
sprintf(str, "Operator Node %%x%d|", TH_NODE_OPERATOR); strcat(cp, str);