Blender V5.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
10
11#pragma once
12
13#include "DNA_vec_types.h"
14
15namespace blender {
16
17struct bContext;
18struct View2D;
19
20namespace ui {
21
23 /* focus bubbles */
24 int vert_min, vert_max; /* vertical scroll-bar */
25 int hor_min, hor_max; /* horizontal scroll-bar */
26
29};
30
34void view2d_scrollers_calc(View2D *v2d, const rcti *mask_custom, View2DScrollers *r_scrollers);
35
39void view2d_totRect_set_resize(View2D *v2d, int width, int height, bool resize);
40
45float view2d_page_size_y(const View2D &v2d);
46
47} // namespace ui
48} // namespace blender
void view2d_scrollers_calc(View2D *v2d, const rcti *mask_custom, View2DScrollers *r_scrollers)
Definition view2d.cc:1374
float view2d_page_size_y(const View2D &v2d)
Definition view2d.cc:79
void view2d_totRect_set_resize(View2D *v2d, int width, int height, bool resize)
Definition view2d.cc:962
BMesh Iterators.