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>2008-12-10 20:58:18 +0300
committerTon Roosendaal <ton@blender.org>2008-12-10 20:58:18 +0300
commit64f9c67ca85a56fbc0a59b5c3a72c7f68c968445 (patch)
tree509765f38a3a785609f82b500a22c3af20c47ab8 /source/blender/editors/space_outliner/space_outliner.c
parentacce05c7e40785d3b89aa69a61b4b4a91dedc0b4 (diff)
2.5
- Brought back (most of) buttons in TimeLine window. They don't work yet though! Waiting for Brecht to commit callbacks for menus and ui-blocks - Area headers hilite again when mouse is inside.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 29a849541b2..37d9ce2906a 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -452,9 +452,12 @@ static void outliner_header_area_draw(const bContext *C, ARegion *ar)
path= (soutliner->rnapath)? soutliner->rnapath: "Main";
- /* clear */
- UI_GetThemeColor3fv(TH_BACK, col);
- glClearColor(MAX2(col[0]-0.3f, 0.0f), MAX2(col[1]-0.3f, 0.0f), MAX2(col[2]-0.3f, 0.0f), 0.0);
+ if(ED_screen_area_active(C))
+ UI_GetThemeColor3fv(TH_HEADER, col);
+ else
+ UI_GetThemeColor3fv(TH_HEADERDESEL, col);
+
+ glClearColor(col[0], col[1], col[2], 0.0);
glClear(GL_COLOR_BUFFER_BIT);
width= ar->winrct.xmax - ar->winrct.xmin;