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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-21 15:27:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-21 15:39:04 +0300
commitfd7352e5a29c8ecfcbacb56e36fefc4428cb9771 (patch)
treec2edf5a5c309787fbdfdba9bdca4118ef4f600b6 /source/blender/blenlib/BLI_rect.h
parent24607a2940e72de5bae5ac1cb14eee29a3fcb02b (diff)
Cleanup: use term pad instead of padding
- Use min/max instead of bottom/top (in keeping with the rest of the BLI_rect API). - Swap args (was passing in max, min).
Diffstat (limited to 'source/blender/blenlib/BLI_rect.h')
-rw-r--r--source/blender/blenlib/BLI_rect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h
index 85cee866c68..e3cd70f7413 100644
--- a/source/blender/blenlib/BLI_rect.h
+++ b/source/blender/blenlib/BLI_rect.h
@@ -62,10 +62,10 @@ void BLI_rcti_resize(struct rcti *rect, int x, int y);
void BLI_rctf_resize(struct rctf *rect, float x, float y);
void BLI_rcti_scale(rcti *rect, const float scale);
void BLI_rctf_scale(rctf *rect, const float scale);
-void BLI_rctf_padding_y(struct rctf *rect,
- const float boundary_height,
- const float padding_top,
- const float padding_bottom);
+void BLI_rctf_pad_y(struct rctf *rect,
+ const float boundary_size,
+ const float pad_min,
+ const float pad_max);
void BLI_rctf_interp(struct rctf *rect,
const struct rctf *rect_a,
const struct rctf *rect_b,