Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/gizmo/WM_gizmo_api.h
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
| * but this complicates things since the window update code needs to run first. | * but this complicates things since the window update code needs to run first. | ||||
| */ | */ | ||||
| void WM_gizmo_modal_set_from_setup(struct wmGizmoMap *gzmap, | void WM_gizmo_modal_set_from_setup(struct wmGizmoMap *gzmap, | ||||
| struct bContext *C, | struct bContext *C, | ||||
| struct wmGizmo *gz, | struct wmGizmo *gz, | ||||
| int part_index, | int part_index, | ||||
| const struct wmEvent *event); | const struct wmEvent *event); | ||||
| /* #WM_gizmo_modal_set_from_setup without operator inicialization. */ | |||||
| void WM_gizmo_modal_set_from_setup_weak(struct wmGizmoMap *gzmap, | |||||
| struct bContext *C, | |||||
| struct wmGizmo *gz, | |||||
| const struct wmEvent *event); | |||||
| struct wmGizmoOpElem *WM_gizmo_operator_get(struct wmGizmo *gz, int part_index); | struct wmGizmoOpElem *WM_gizmo_operator_get(struct wmGizmo *gz, int part_index); | ||||
| struct PointerRNA *WM_gizmo_operator_set(struct wmGizmo *gz, | struct PointerRNA *WM_gizmo_operator_set(struct wmGizmo *gz, | ||||
| int part_index, | int part_index, | ||||
| struct wmOperatorType *ot, | struct wmOperatorType *ot, | ||||
| struct IDProperty *properties); | struct IDProperty *properties); | ||||
| int WM_gizmo_operator_invoke(struct bContext *C, | int WM_gizmo_operator_invoke(struct bContext *C, | ||||
| struct wmGizmo *gz, | struct wmGizmo *gz, | ||||
| struct wmGizmoOpElem *gzop, | struct wmGizmoOpElem *gzop, | ||||
| ▲ Show 20 Lines • Show All 411 Lines • Show Last 20 Lines | |||||