diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-07 09:21:06 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-07 09:21:06 +0300 |
commit | b7fc71a3e2d60b4d1c819199d023bce6ae95482c (patch) | |
tree | c94877a267162dfabaab071aceffc52f92b15547 /source/blender/editors/space_outliner | |
parent | d2bfb9ae1d38534a4b835d6c0946aeeb0f62994c (diff) |
View2D: Renamed a few API methods to follow standard naming conventions, and added define to use when an argument to these methods is irrelevant.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 34dad277bc4..07f6253feb3 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -403,7 +403,6 @@ static void outliner_main_area_draw(const bContext *C, ARegion *ar) /* update size of tot-rect (extents of data/viewable area) */ UI_view2d_totRect_set(v2d, width, height); - rct.xmin= 0; rct.ymin= -height; rct.xmax= width; @@ -425,9 +424,9 @@ static void outliner_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_restore(C); /* scrollers */ - scrollers= UI_view2d_calc_scrollers(C, v2d, 0, 0, 0, 0); - UI_view2d_draw_scrollers(C, v2d, scrollers); - UI_view2d_free_scrollers(scrollers); + scrollers= UI_view2d_scrollers_calc(C, v2d, V2D_ARG_DUMMY, V2D_ARG_DUMMY, V2D_ARG_DUMMY, V2D_ARG_DUMMY); + UI_view2d_scrollers_draw(C, v2d, scrollers); + UI_view2d_scrollers_free(scrollers); } static void outliner_main_area_free(ARegion *ar) |