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>2010-01-29 04:57:15 +0300
committerMatt Ebb <matt@mke3.net>2010-01-29 04:57:15 +0300
commit30c317de70bdb5348adecf9f1d8518a51aff6c86 (patch)
treee296a3e28609fbffaf5437032432fc6c3b056250 /source/blender/editors/space_info/space_info.c
parentb645e56ad57e586410ae56d2287508f0121c10c0 (diff)
Fix [#20447] Minor infobar bugs
Limited headers to normal header height until multi-line headers are properly implemented.
Diffstat (limited to 'source/blender/editors/space_info/space_info.c')
-rw-r--r--source/blender/editors/space_info/space_info.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c
index af6bec00171..9f7a74465e0 100644
--- a/source/blender/editors/space_info/space_info.c
+++ b/source/blender/editors/space_info/space_info.c
@@ -116,12 +116,16 @@ static SpaceLink *info_duplicate(SpaceLink *sl)
/* add handlers, stuff you only do once or on area/region changes */
static void info_main_area_init(wmWindowManager *wm, ARegion *ar)
{
- ED_region_panels_init(wm, ar);
}
static void info_main_area_draw(const bContext *C, ARegion *ar)
{
- ED_region_panels(C, ar, 1, NULL, -1);
+ float col[3];
+
+ /* clear and setup matrix */
+ UI_GetThemeColor3fv(TH_BACK, col);
+ glClearColor(col[0], col[1], col[2], 0.0);
+ glClear(GL_COLOR_BUFFER_BIT);
}
void info_operatortypes(void)