diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 06:19:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 06:19:45 +0300 |
commit | b98fe9e70740ebfbd8910454036819d3a5fcd330 (patch) | |
tree | eba9f5b9dbcec092abea15759c1b16788dce611c /source/blender/editors/include/UI_view2d.h | |
parent | 9b3818762a6ce717539885cb99cdb98abc78ed1a (diff) |
Cleanup: move functions into doxy sections
Also use const args for queries.
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |