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>2003-10-21 11:02:04 +0400
committerMatt Ebb <matt@mke3.net>2003-10-21 11:02:04 +0400
commit4405113308ee8165d2327dd58c6d0cd845678cc1 (patch)
treee1a4ab25f040fc987d97bb4fbbd2ade98037ac26 /source/blender/src/interface_panel.c
parentff89daceb0fda2b0557e94a088f9a0973f2d704a (diff)
- Lots of tweaks to interface colours, shading, etc.
- Fixed alignment/width of menus Still needs more work.
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r--source/blender/src/interface_panel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c
index 0ae12e3ab86..bdebb2f524f 100644
--- a/source/blender/src/interface_panel.c
+++ b/source/blender/src/interface_panel.c
@@ -630,10 +630,10 @@ static void ui_draw_tria_icon(float x, float y, float aspect, char dir)
BIF_ThemeColor(TH_TEXT_HI);
if(dir=='h') {
- ui_draw_anti_tria( x, y, x, y+10.0, x+6, y+5.25);
+ ui_draw_anti_tria( x, y+1, x, y+10.0, x+7, y+6.25);
}
else {
- ui_draw_anti_tria( x-2, y+7, x+10-2, y+7, x+5.25-2, y+2);
+ ui_draw_anti_tria( x-2, y+8, x+9-2, y+8, x+4.75-2, y+1);
}
}
@@ -834,12 +834,13 @@ void ui_draw_panel(uiBlock *block)
uiSetRoundBox(3);
if(panel->control & UI_PNL_SOLID) {
- BIF_ThemeColorShade(TH_HEADER, -40);
+ BIF_ThemeColorShade(TH_HEADER, -30);
uiRoundBox(block->minx, block->maxy, block->maxx, block->maxy+PNL_HEADER, 10);
// blend now for panels in 3d window, test...
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glEnable(GL_BLEND);
BIF_ThemeColor4(TH_PANEL);
+ BIF_ThemeColorShade(TH_PANEL, +100);
glRectf(block->minx, block->miny, block->maxx, block->maxy);
//if(align) {