Blender V5.3
blank3d_gizmo.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2014 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
12
13#include "ED_gizmo_library.hh"
14
15#include "WM_api.hh"
16#include "WM_types.hh"
17
18namespace blender {
19
20/* own includes */
21
22static void gizmo_blank_draw(const bContext * /*C*/, wmGizmo * /*gz*/)
23{
24 /* pass */
25}
26
28 wmGizmo * /*gz*/,
29 const wmEvent * /*event*/)
30{
32}
33
34static int gizmo_blank_test_select(bContext * /*C*/, wmGizmo * /*gz*/, const int /*mval*/[2])
35{
36 return 0;
37}
38
39/* -------------------------------------------------------------------- */
42
44{
45 /* identifiers */
46 gzt->idname = "GIZMO_GT_blank_3d";
47
48 /* API callbacks. */
52
53 gzt->struct_size = sizeof(wmGizmo);
54}
55
60
62
63} // namespace blender
BMesh Iterators.
static void gizmo_blank_draw(const bContext *, wmGizmo *)
void WM_gizmotype_append(void(*gtfunc)(wmGizmoType *))
static void GIZMO_GT_blank_3d(wmGizmoType *gzt)
static wmOperatorStatus gizmo_blank_invoke(bContext *, wmGizmo *, const wmEvent *)
void ED_gizmotypes_blank_3d()
static int gizmo_blank_test_select(bContext *, wmGizmo *, const int[2])
wmGizmoFnInvoke invoke
wmGizmoFnTestSelect test_select