Blender V5.3
node_gizmo.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#include <cmath>
10
11#include "BLI_listbase.hh"
12#include "BLI_math_base.hh"
13#include "BLI_math_matrix_c.hh"
15#include "BLI_math_vector_c.hh"
16#include "BLI_rect.hh"
17#include "BLI_string.hh"
18#include "BLI_utildefines.hh"
19
20#include "BKE_context.hh"
21#include "BKE_image.hh"
22#include "BKE_node_runtime.hh"
23
24#include "ED_gizmo_library.hh"
25#include "ED_screen.hh"
26
27#include "IMB_imbuf_types.hh"
28
29#include "MEM_guardedalloc.h"
30
31#include "RNA_access.hh"
32#include "RNA_prototypes.hh"
33
35
36#include "WM_types.hh"
37
38#include "node_intern.hh"
39
41
42/* -------------------------------------------------------------------- */
45
47{
48 gzgt->name = "Backdrop Transform Widget";
49 gzgt->idname = "NODE_GGT_backdrop_transform";
50
52
57}
58
60
61/* -------------------------------------------------------------------- */
64
78
80
81/* -------------------------------------------------------------------- */
84
98
100
101/* -------------------------------------------------------------------- */
104
118
120
121/* -------------------------------------------------------------------- */
124
138
140
141/* -------------------------------------------------------------------- */
144
158
160
161/* -------------------------------------------------------------------- */
164
178
180
181/* -------------------------------------------------------------------- */
184
198
200
201/* -------------------------------------------------------------------- */
204
218
220
221/* -------------------------------------------------------------------- */
224
238
240
241} // namespace blender::ed::space_node
Read Blender memory allocation and freeing.
void NODE_GGT_backdrop_split(wmGizmoGroupType *gzgt)
void NODE_GGT_backdrop_corner_pin(wmGizmoGroupType *gzgt)
void NODE_GGT_backdrop_crop(wmGizmoGroupType *gzgt)
Definition node_gizmo.cc:65
void NODE_GGT_backdrop_box_mask(wmGizmoGroupType *gzgt)
Definition node_gizmo.cc:85
void NODE_GGT_backdrop_transform(wmGizmoGroupType *gzgt)
Definition node_gizmo.cc:46
void NODE_GGT_compositor_translate(wmGizmoGroupType *gzgt)
void NODE_GGT_backdrop_ellipse_mask(wmGizmoGroupType *gzgt)
void NODE_GGT_compositor_transform(wmGizmoGroupType *gzgt)
void NODE_GGT_compositor_scale(wmGizmoGroupType *gzgt)
void NODE_GGT_backdrop_glare(wmGizmoGroupType *gzgt)
bool translate_poll_space_node(const bContext *C, wmGizmoGroupType *)
bool box_mask_poll_space_node(const bContext *C, wmGizmoGroupType *)
void split_setup(const bContext *, wmGizmoGroup *gzgroup)
void split_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void box_mask_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void glare_draw_prepare_space_node(const bContext *C, wmGizmoGroup *gzgroup)
void viewer_setup(const bContext *, wmGizmoGroup *gzgroup)
void translate_setup(const bContext *, wmGizmoGroup *gzgroup)
void corner_pin_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool corner_pin_poll_space_node(const bContext *C, wmGizmoGroupType *)
void glare_setup(const bContext *, wmGizmoGroup *gzgroup)
void box_mask_setup(const bContext *, wmGizmoGroup *gzgroup)
void crop_draw_prepare_space_node(const bContext *C, wmGizmoGroup *gzgroup)
void transform_setup(const bContext *, wmGizmoGroup *gzgroup)
bool viewer_poll(const bContext *C, wmGizmoGroupType *)
void transform_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void viewer_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool crop_poll_space_node(const bContext *C, wmGizmoGroupType *)
bool ellipse_mask_poll_space_node(const bContext *C, wmGizmoGroupType *)
void corner_pin_draw_prepare_space_node(const bContext *C, wmGizmoGroup *gzgroup)
void corner_pin_setup(const bContext *, wmGizmoGroup *gzgroup)
void ellipse_mask_setup(const bContext *, wmGizmoGroup *gzgroup)
void translate_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool transform_poll_space_node(const bContext *C, wmGizmoGroupType *)
void crop_refresh(const bContext *C, wmGizmoGroup *gzgroup)
bool split_poll_space_node(const bContext *C, wmGizmoGroupType *)
bool scale_poll_space_node(const bContext *C, wmGizmoGroupType *)
void scale_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void bbox_draw_prepare_space_node(const bContext *C, wmGizmoGroup *gzgroup)
void glare_refresh(const bContext *C, wmGizmoGroup *gzgroup)
void crop_setup(const bContext *, wmGizmoGroup *gzgroup)
bool glare_poll_space_node(const bContext *C, wmGizmoGroupType *)
void scale_setup(const bContext *, wmGizmoGroup *gzgroup)
@ WM_GIZMOGROUPTYPE_PERSISTENT
wmKeyMap * WM_gizmogroup_setup_keymap_generic_maybe_drag(const wmGizmoGroupType *, wmKeyConfig *kc)
wmGizmoGroupFnRefresh refresh
wmGizmoGroupFnSetupKeymap setup_keymap
wmGizmoGroupFnDrawPrepare draw_prepare
eWM_GizmoFlagGroupTypeFlag flag