diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-28 08:14:32 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-28 08:14:32 +0300 |
commit | f9ee03f1b195a55ea8298783215d50d0ad4f3795 (patch) | |
tree | 6206a12f0d0486c9aaac09c1e8e8163a4c9e12b4 /source/blender/editors/space_image/space_image.c | |
parent | dbf295b904fb0bcb59656a57e32474b1f5adf77a (diff) |
Got rid of some dead code
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index d82364fed2f..a077357d03e 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -489,36 +489,12 @@ static void image_buttons_area_listener(ARegion *ar, wmNotifier *wmn) /* add handlers, stuff you only do once or on area/region changes */ static void image_header_area_init(wmWindowManager *wm, ARegion *ar) { -#if 0 - UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_HEADER, ar->winx, ar->winy); -#else ED_region_header_init(ar); -#endif } static void image_header_area_draw(const bContext *C, ARegion *ar) { ED_region_header(C, ar); -#if 0 - float col[3]; - - /* clear */ - 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); - - /* set view2d view matrix for scrolling (without scrollers) */ - UI_view2d_view_ortho(C, &ar->v2d); - - image_header_buttons(C, ar); - - /* restore view matrix? */ - UI_view2d_view_restore(C); -#endif } /**************************** spacetype *****************************/ |