Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/gizmo/wm_gizmo_fn.h
| Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | typedef int (*wmGizmoFnModal)(struct bContext *, | ||||
| struct wmGizmo *, | struct wmGizmo *, | ||||
| const struct wmEvent *, | const struct wmEvent *, | ||||
| eWM_GizmoFlagTweak); | eWM_GizmoFlagTweak); | ||||
| typedef void (*wmGizmoFnPropertyUpdate)(struct wmGizmo *, struct wmGizmoProperty *); | typedef void (*wmGizmoFnPropertyUpdate)(struct wmGizmo *, struct wmGizmoProperty *); | ||||
| typedef void (*wmGizmoFnMatrixBasisGet)(const struct wmGizmo *, float[4][4]); | typedef void (*wmGizmoFnMatrixBasisGet)(const struct wmGizmo *, float[4][4]); | ||||
| typedef int (*wmGizmoFnInvoke)(struct bContext *, struct wmGizmo *, const struct wmEvent *); | typedef int (*wmGizmoFnInvoke)(struct bContext *, struct wmGizmo *, const struct wmEvent *); | ||||
| typedef void (*wmGizmoFnExit)(struct bContext *, struct wmGizmo *, const bool); | typedef void (*wmGizmoFnExit)(struct bContext *, struct wmGizmo *, const bool); | ||||
| typedef int (*wmGizmoFnCursorGet)(struct wmGizmo *); | typedef int (*wmGizmoFnCursorGet)(struct wmGizmo *); | ||||
| typedef void (*wmGizmoFnScreenBoundsGet)(struct bContext *, | |||||
| struct wmGizmo *, | |||||
| rcti *r_bounding_box); | |||||
| typedef void (*wmGizmoFnSelectRefresh)(struct wmGizmo *); | typedef void (*wmGizmoFnSelectRefresh)(struct wmGizmo *); | ||||
| typedef void (*wmGizmoFnFree)(struct wmGizmo *); | typedef void (*wmGizmoFnFree)(struct wmGizmo *); | ||||
| /* wmGizmoProperty ('value' type defined by 'wmGizmoProperty.data_type') */ | /* wmGizmoProperty ('value' type defined by 'wmGizmoProperty.data_type') */ | ||||
| typedef void (*wmGizmoPropertyFnGet)(const struct wmGizmo *, | typedef void (*wmGizmoPropertyFnGet)(const struct wmGizmo *, | ||||
| struct wmGizmoProperty *, | struct wmGizmoProperty *, | ||||
| /* typically 'float *' */ | /* typically 'float *' */ | ||||
| void *value); | void *value); | ||||
| Show All 21 Lines | |||||