diff options
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index 19054f48dba..8992e71759c 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -167,8 +167,12 @@ void UI_view2d_to_region_no_clip(struct View2D *v2d, float x, float y, short *re /* utilities */ struct View2D *UI_view2d_fromcontext(const struct bContext *C); struct View2D *UI_view2d_fromcontext_rwin(const struct bContext *C); + void UI_view2d_getscale(struct View2D *v2d, float *x, float *y); +short UI_view2d_mouse_in_scrollers(const struct bContext *C, struct View2D *v2d, int x, int y); + + /* operators */ void ui_view2d_operatortypes(void); void UI_view2d_keymap(struct wmWindowManager *wm); |