Blender V5.3
wm_gizmo_wmapi.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2016 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
15
16#pragma once
17
18#include "DNA_listBase.h"
19
20namespace blender {
21
22struct bContext;
23struct wmEvent;
26struct wmGizmo;
27struct wmGizmoGroup;
28struct wmGizmoMap;
29struct wmKeyConfig;
30struct wmOperatorType;
31
32/* -------------------------------------------------------------------- */
35
36/* `wm_gizmo_type.cc`, for init/exit. */
37
43
44/* `wm_gizmogroup_type.cc`, for init/exit. */
45
51
53
54/* -------------------------------------------------------------------- */
57
60
62
64
65/* -------------------------------------------------------------------- */
68
70
74void wm_gizmos_keymap(wmKeyConfig *keyconf);
75
83
91 bContext *C,
92 const wmEvent *event,
93 int *r_part);
94bool wm_gizmomap_highlight_set(wmGizmoMap *gzmap, const bContext *C, wmGizmo *gz, int part);
100 wmGizmoMap *gzmap, bContext *C, wmGizmo *gz, const wmEvent *event, bool enable);
101
103wmGizmo **wm_gizmomap_selected_get(wmGizmoMap *gzmap, int *r_selected_len);
104ListBaseT<wmGizmoGroup> *wm_gizmomap_groups_get(wmGizmoMap *gzmap);
105
107
108/* -------------------------------------------------------------------- */
111
113
115
116} // namespace blender
These structs are the foundation for all linked lists in the library system.
#define C
Definition RandGen.cpp:29
BMesh Iterators.
bool wm_gizmomap_highlight_pending(const wmGizmoMap *gzmap)
ListBaseT< wmGizmoGroup > * wm_gizmomap_groups_get(wmGizmoMap *gzmap)
void wm_gizmotype_free()
wmGizmo ** wm_gizmomap_selected_get(wmGizmoMap *gzmap, int *r_selected_len)
bool wm_gizmogroup_is_any_selected(const wmGizmoGroup *gzgroup)
void wm_gizmos_keymap(wmKeyConfig *keyconf)
void wm_gizmomap_handler_context_op(bContext *C, wmEventHandler_Op *handler)
bool wm_gizmomap_highlight_handled(wmGizmoMap *gzmap)
void wm_gizmogrouptype_init()
wmGizmo * wm_gizmomap_highlight_find(wmGizmoMap *gzmap, bContext *C, const wmEvent *event, int *r_part)
bool wm_gizmomap_highlight_set(wmGizmoMap *gzmap, const bContext *C, wmGizmo *gz, int part)
void GIZMOGROUP_OT_gizmo_select(wmOperatorType *ot)
wmGizmo * wm_gizmomap_modal_get(wmGizmoMap *gzmap)
void wm_gizmotype_init()
void wm_gizmomap_remove(wmGizmoMap *gzmap)
void wm_gizmomaptypes_free()
void wm_gizmomap_handler_context_gizmo(bContext *, wmEventHandler_Gizmo *)
void GIZMOGROUP_OT_gizmo_tweak(wmOperatorType *ot)
void wm_gizmomaps_handled_modal_update(bContext *C, wmEvent *event, wmEventHandler_Op *handler)
wmGizmo * wm_gizmomap_highlight_get(wmGizmoMap *gzmap)
void wm_gizmomap_modal_set(wmGizmoMap *gzmap, bContext *C, wmGizmo *gz, const wmEvent *event, bool enable)
void wm_gizmogrouptype_free()