From b98fe9e70740ebfbd8910454036819d3a5fcd330 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Mar 2019 14:19:45 +1100 Subject: Cleanup: move functions into doxy sections Also use const args for queries. --- source/blender/editors/include/UI_view2d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index 8c944760972..df1dd0f5f63 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -218,10 +218,10 @@ void UI_view2d_center_set(struct View2D *v2d, float x, float y); void UI_view2d_offset(struct View2D *v2d, float xfac, float yfac); char UI_view2d_mouse_in_scrollers_ex( - const struct ARegion *ar, struct View2D *v2d, int x, int y, + const struct ARegion *ar, const struct View2D *v2d, int x, int y, int *r_scroll); char UI_view2d_mouse_in_scrollers( - const struct ARegion *ar, struct View2D *v2d, int x, int y); + const struct ARegion *ar, const struct View2D *v2d, int x, int y); /* cached text drawing in v2d, to allow pixel-aligned draw as post process */ void UI_view2d_text_cache_add(struct View2D *v2d, float x, float y, -- cgit v1.2.3