From 6dbe96757bc345efa8a432861b057f65b26ae69f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 25 Mar 2019 12:19:55 +1100 Subject: Cleanup: return argument naming --- source/blender/editors/include/UI_interface.h | 6 +++--- source/blender/editors/include/UI_view2d.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 45b379f42ee..f6014f58043 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -906,7 +906,7 @@ int UI_autocomplete_end(AutoComplete *autocpl, char *autoname); * not clear yet so we postpone that. */ void UI_panels_begin(const struct bContext *C, struct ARegion *ar); -void UI_panels_end(const struct bContext *C, struct ARegion *ar, int *x, int *y); +void UI_panels_end(const struct bContext *C, struct ARegion *ar, int *r_x, int *r_y); void UI_panels_draw(const struct bContext *C, struct ARegion *ar); struct Panel *UI_panel_find_by_type(struct ListBase *lb, struct PanelType *pt); @@ -916,7 +916,7 @@ struct Panel *UI_panel_begin( bool *r_open); void UI_panel_end(uiBlock *block, int width, int height); void UI_panels_scale(struct ARegion *ar, float new_width); -void UI_panel_label_offset(struct uiBlock *block, int *x, int *y); +void UI_panel_label_offset(struct uiBlock *block, int *r_x, int *r_y); int UI_panel_size_y(const struct Panel *pa); bool UI_panel_category_is_visible(struct ARegion *ar); @@ -1034,7 +1034,7 @@ enum { uiLayout *UI_block_layout(uiBlock *block, int dir, int type, int x, int y, int size, int em, int padding, struct uiStyle *style); void UI_block_layout_set_current(uiBlock *block, uiLayout *layout); -void UI_block_layout_resolve(uiBlock *block, int *x, int *y); +void UI_block_layout_resolve(uiBlock *block, int *r_x, int *r_y); void UI_region_message_subscribe(struct ARegion *ar, struct wmMsgBus *mbus); diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index df1dd0f5f63..98e00eab9c9 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -209,10 +209,10 @@ bool UI_view2d_view_to_region_rcti_clip(struct View2D *v2d, const struct rctf * struct View2D *UI_view2d_fromcontext(const struct bContext *C); struct View2D *UI_view2d_fromcontext_rwin(const struct bContext *C); -void UI_view2d_scale_get(struct View2D *v2d, float *x, float *y); -void UI_view2d_scale_get_inverse(struct View2D *v2d, float *x, float *y); +void UI_view2d_scale_get(struct View2D *v2d, float *r_x, float *r_y); +void UI_view2d_scale_get_inverse(struct View2D *v2d, float *r_x, float *r_y); -void UI_view2d_center_get(struct View2D *v2d, float *x, float *y); +void UI_view2d_center_get(struct View2D *v2d, float *r_x, float *r_y); void UI_view2d_center_set(struct View2D *v2d, float x, float y); void UI_view2d_offset(struct View2D *v2d, float xfac, float yfac); -- cgit v1.2.3