diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-04 15:13:13 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-04 15:13:13 +0300 |
commit | 3153a238b38573e77fd277abca927d77c8bcce4a (patch) | |
tree | bb4c628956e9c67851e6a4e6fd37cfc06ba975a6 /source/blender/src/resources.c | |
parent | bd26fe8f94dd0f8ee558df1e7c877eba3db912be (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.c | 5 |
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); |