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:
authorMatt Ebb <matt@mke3.net>2004-01-24 08:08:11 +0300
committerMatt Ebb <matt@mke3.net>2004-01-24 08:08:11 +0300
commit66c971481f18ff55b1e11e8abe0e6a6e237b6b9c (patch)
tree71c630a24db2812fc5dbe1ed5eef572f24574c64 /source/blender/src/interface_panel.c
parentb0479d893f4228287eb40936c43696bbd5cb431a (diff)
* Small tweaks to the default theme's colours
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r--source/blender/src/interface_panel.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c
index 4be3e362e20..85ebfad0363 100644
--- a/source/blender/src/interface_panel.c
+++ b/source/blender/src/interface_panel.c
@@ -714,11 +714,6 @@ static void ui_draw_panel_header(uiBlock *block)
if(nr==1) {
/* active tab */
- /*uiSetRoundBox(3);
- BIF_ThemeColorShade(TH_HEADER, -3);
- uiRoundBox(2+block->minx+pnl_icons, panel->sizey-1, block->maxx, panel->sizey+PNL_HEADER, 10);
- */
-
BIF_ThemeColor(TH_TEXT_HI);
glRasterPos2f(4+block->minx+pnl_icons, block->maxy+5);
BIF_DrawString(block->curfont, block->panel->panelname, (U.transopts & USER_TR_BUTTONS));
@@ -749,7 +744,7 @@ static void ui_draw_panel_header(uiBlock *block)
BIF_ThemeColorShade(TH_HEADER, -60);
uiRoundBox(2+pnl_icons+a*width, panel->sizey, pnl_icons+(a+1)*width, panel->sizey+PNL_HEADER-3, 8);
- BIF_ThemeColor(TH_TEXT_HI);
+ BIF_ThemeColorShade(TH_TEXT_HI, -40);
glRasterPos2f(16+pnl_icons+a*width, panel->sizey+4);
str= ui_block_cut_str(block, pa->panelname, (short)(width-10));
BIF_DrawString(block->curfont, str, (U.transopts & USER_TR_BUTTONS));