Blender V4.3
view2d_intern.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11#pragma once
12
13#include "DNA_vec_types.h"
14
15struct bContext;
16struct View2D;
17
19 /* focus bubbles */
20 int vert_min, vert_max; /* vertical scroll-bar */
21 int hor_min, hor_max; /* horizontal scroll-bar */
22
25};
26
30void view2d_scrollers_calc(View2D *v2d, const rcti *mask_custom, View2DScrollers *r_scrollers);
31
35void view2d_totRect_set_resize(View2D *v2d, int width, int height, bool resize);
36
38
43float view2d_page_size_y(const View2D &v2d);
void view2d_totRect_set_resize(View2D *v2d, int width, int height, bool resize)
Definition view2d.cc:973
float view2d_page_size_y(const View2D &v2d)
Definition view2d.cc:77
void view2d_scrollers_calc(View2D *v2d, const rcti *mask_custom, View2DScrollers *r_scrollers)
Definition view2d.cc:1386
bool view2d_edge_pan_poll(bContext *C)