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>2003-11-09 02:18:32 +0300
committerTon Roosendaal <ton@blender.org>2003-11-09 02:18:32 +0300
commita149109a5e4ddf94b349d498d08f5d7be25963b1 (patch)
tree91947fbf5a379b54e5e02c43c2052b65066e17df /source/blender/src/resources.c
parentbe68e2b793c3f016cf7e08122de2ff03b742a098 (diff)
- added panel backdrop for buttonswin to themes
- made hilite of headers a tinsy bit subtler - opengl render (icon 3d window) uses theme for backdrop
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r--source/blender/src/resources.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c
index 9746a80982b..433827da01e 100644
--- a/source/blender/src/resources.c
+++ b/source/blender/src/resources.c
@@ -389,9 +389,9 @@ char *BIF_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
case TH_HEADERDESEL:
/* we calculate a dynamic builtin header deselect color, also for pulldowns... */
cp= ts->header;
- headerdesel[0]= cp[0]>20?cp[0]-20:0;
- headerdesel[1]= cp[1]>20?cp[1]-20:0;
- headerdesel[2]= cp[2]>20?cp[2]-20:0;
+ headerdesel[0]= cp[0]>10?cp[0]-10:0;
+ headerdesel[1]= cp[1]>10?cp[1]-10:0;
+ headerdesel[2]= cp[2]>10?cp[2]-10:0;
cp= headerdesel;
break;
case TH_PANEL:
@@ -673,6 +673,9 @@ char *BIF_ThemeColorsPup(int spacetype)
else if(spacetype==SPACE_SOUND) {
sprintf(str, "Window slider %%x%d|", TH_SHADE1); strcat(cp, str);
}
+ else if(spacetype==SPACE_BUTS) {
+ sprintf(str, "Panel %%x%d|", TH_PANEL); strcat(cp, str);
+ }
else if(spacetype==SPACE_IMASEL) {
sprintf(str, "Main Shade %%x%d|", TH_SHADE1); strcat(cp, str);
}