code cleanup: replace macro for BLI_rect size/center with inline functions.

This commit is contained in:
Campbell Barton
2012-09-15 11:48:20 +00:00
parent 219b748dfc
commit 232571c61a
88 changed files with 630 additions and 603 deletions

View File

@@ -537,7 +537,7 @@ static void file_ui_area_draw(const bContext *C, ARegion *ar)
glClear(GL_COLOR_BUFFER_BIT);
/* scrolling here is just annoying, disable it */
ar->v2d.cur.ymax = BLI_RCT_SIZE_Y(&ar->v2d.cur);
ar->v2d.cur.ymax = BLI_rctf_size_y(&ar->v2d.cur);
ar->v2d.cur.ymin = 0;
/* set view2d view matrix for scrolling (without scrollers) */