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:
authorJoilnen Leite <joilnen.leite@gmail.com>2006-03-10 21:52:49 +0300
committerJoilnen Leite <joilnen.leite@gmail.com>2006-03-10 21:52:49 +0300
commit0a6c3993bfe44f42851b1926b1a9d023e83af768 (patch)
tree308539bee568f7c6e65a442c9da0c06d6a764483 /source/blender/src/resources.c
parent96a6e5637e71ad24ef8484843f56e1fb5298fb19 (diff)
fix for bug 3970
.
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r--source/blender/src/resources.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c
index 913de9b88d4..563b46aa8b4 100644
--- a/source/blender/src/resources.c
+++ b/source/blender/src/resources.c
@@ -229,6 +229,10 @@ char *BIF_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
cp= ts->select; break;
case TH_ACTIVE:
cp= ts->active; break;
+ case TH_GROUP:
+ cp= ts->group; break;
+ case TH_GROUP_ACTIVE:
+ cp= ts->group_active; break;
case TH_TRANSFORM:
cp= ts->transform; break;
case TH_VERTEX:
@@ -354,6 +358,8 @@ void BIF_InitTheme(void)
SETCOL(btheme->tv3d.lamp, 0, 0, 0, 40);
SETCOL(btheme->tv3d.select, 0xff, 0x88, 0xff, 255);
SETCOL(btheme->tv3d.active, 0xff, 0xbb, 0xff, 255);
+ SETCOL(btheme->tv3d.group, 0x32, 0xcd, 0x32, 255);
+ SETCOL(btheme->tv3d.group_active, 0xb4, 0xee, 0xb4, 255);
SETCOL(btheme->tv3d.transform, 0xff, 0xff, 0xff, 255);
SETCOL(btheme->tv3d.vertex, 0xff, 0x70, 0xff, 255);
SETCOL(btheme->tv3d.vertex_select, 0xff, 0xff, 0x70, 255);
@@ -532,6 +538,8 @@ char *BIF_ThemeColorsPup(int spacetype)
str += sprintf(str, "Lamp %%x%d|", TH_LAMP);
str += sprintf(str, "Object Selected %%x%d|", TH_SELECT);
str += sprintf(str, "Object Active %%x%d|", TH_ACTIVE);
+ str += sprintf(str, "Object Grouped %%x%d|", TH_GROUP);
+ str += sprintf(str, "Object Grouped Active %%x%d|", TH_GROUP_ACTIVE);
str += sprintf(str, "Transform %%x%d|", TH_TRANSFORM);
str += sprintf(str, "%%l|");
str += sprintf(str, "Vertex %%x%d|", TH_VERTEX);