Blender V5.0
wm_gizmo_fn.hh File Reference

Go to the source code of this file.

Classes

struct  wmGizmoPropertyFnParams

Typedefs

using wmGizmoGroupFnPoll = bool (*)(const bContext *, wmGizmoGroupType *)
using wmGizmoGroupFnInit = void (*)(const bContext *, wmGizmoGroup *)
using wmGizmoGroupFnRefresh = void (*)(const bContext *, wmGizmoGroup *)
using wmGizmoGroupFnDrawPrepare = void (*)(const bContext *, wmGizmoGroup *)
using wmGizmoGroupFnInvokePrepare
using wmGizmoGroupFnSetupKeymap = wmKeyMap *(*)(const wmGizmoGroupType *, wmKeyConfig *)
using wmGizmoGroupFnMsgBusSubscribe = void (*)(const bContext *, wmGizmoGroup *, wmMsgBus *)
using wmGizmoFnSetup = void (*)(wmGizmo *)
using wmGizmoFnDraw = void (*)(const bContext *, wmGizmo *)
using wmGizmoFnDrawSelect = void (*)(const bContext *, wmGizmo *, int)
using wmGizmoFnTestSelect = int (*)(bContext *, wmGizmo *, const int mval[2])
using wmGizmoFnModal
using wmGizmoFnPropertyUpdate = void (*)(wmGizmo *, wmGizmoProperty *)
using wmGizmoFnMatrixBasisGet = void (*)(const wmGizmo *, float[4][4])
using wmGizmoFnInvoke = wmOperatorStatus (*)(bContext *, wmGizmo *, const wmEvent *)
using wmGizmoFnExit = void (*)(bContext *, wmGizmo *, const bool)
using wmGizmoFnCursorGet = int (*)(wmGizmo *)
using wmGizmoFnScreenBoundsGet = bool (*)(bContext *, wmGizmo *, rcti *r_bounding_box)
using wmGizmoFnSelectRefresh = void (*)(wmGizmo *)
using wmGizmoFnFree = void (*)(wmGizmo *)
using wmGizmoPropertyFnGet
using wmGizmoPropertyFnSet
using wmGizmoPropertyFnRangeGet
using wmGizmoPropertyFnForeachRNAProp
using wmGizmoPropertyFnFree = void (*)(const wmGizmo *, wmGizmoProperty *)

Detailed Description

Callback function definitions, needed for both Types & API headers.

Definition in file wm_gizmo_fn.hh.

Typedef Documentation

◆ wmGizmoFnCursorGet

using wmGizmoFnCursorGet = int (*)(wmGizmo *)

Definition at line 53 of file wm_gizmo_fn.hh.

◆ wmGizmoFnDraw

using wmGizmoFnDraw = void (*)(const bContext *, wmGizmo *)

Definition at line 42 of file wm_gizmo_fn.hh.

◆ wmGizmoFnDrawSelect

using wmGizmoFnDrawSelect = void (*)(const bContext *, wmGizmo *, int)

Definition at line 43 of file wm_gizmo_fn.hh.

◆ wmGizmoFnExit

using wmGizmoFnExit = void (*)(bContext *, wmGizmo *, const bool)

Definition at line 52 of file wm_gizmo_fn.hh.

◆ wmGizmoFnFree

using wmGizmoFnFree = void (*)(wmGizmo *)

Definition at line 56 of file wm_gizmo_fn.hh.

◆ wmGizmoFnInvoke

Definition at line 51 of file wm_gizmo_fn.hh.

◆ wmGizmoFnMatrixBasisGet

using wmGizmoFnMatrixBasisGet = void (*)(const wmGizmo *, float[4][4])

Definition at line 50 of file wm_gizmo_fn.hh.

◆ wmGizmoFnModal

Initial value:
const wmEvent *,
eWM_GizmoFlagTweak
Gizmo tweak flag. Bit-flag passed to gizmo while tweaking.

Definition at line 45 of file wm_gizmo_fn.hh.

◆ wmGizmoFnPropertyUpdate

Definition at line 49 of file wm_gizmo_fn.hh.

◆ wmGizmoFnScreenBoundsGet

using wmGizmoFnScreenBoundsGet = bool (*)(bContext *, wmGizmo *, rcti *r_bounding_box)

Definition at line 54 of file wm_gizmo_fn.hh.

◆ wmGizmoFnSelectRefresh

using wmGizmoFnSelectRefresh = void (*)(wmGizmo *)

Definition at line 55 of file wm_gizmo_fn.hh.

◆ wmGizmoFnSetup

using wmGizmoFnSetup = void (*)(wmGizmo *)

Definition at line 41 of file wm_gizmo_fn.hh.

◆ wmGizmoFnTestSelect

using wmGizmoFnTestSelect = int (*)(bContext *, wmGizmo *, const int mval[2])

Definition at line 44 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnDrawPrepare

using wmGizmoGroupFnDrawPrepare = void (*)(const bContext *, wmGizmoGroup *)

Definition at line 30 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnInit

using wmGizmoGroupFnInit = void (*)(const bContext *, wmGizmoGroup *)

Definition at line 28 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnInvokePrepare

Initial value:
void (*)(const bContext *,
const wmEvent *)

Definition at line 31 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnMsgBusSubscribe

Definition at line 36 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnPoll

using wmGizmoGroupFnPoll = bool (*)(const bContext *, wmGizmoGroupType *)

Definition at line 27 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnRefresh

using wmGizmoGroupFnRefresh = void (*)(const bContext *, wmGizmoGroup *)

Definition at line 29 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnSetupKeymap

Definition at line 35 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnForeachRNAProp

Initial value:

Definition at line 73 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnFree

using wmGizmoPropertyFnFree = void (*)(const wmGizmo *, wmGizmoProperty *)

Definition at line 77 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnGet

Initial value:
void (*)(const wmGizmo *,
void *value)

Definition at line 59 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnRangeGet

Initial value:
void (*)(const wmGizmo *,
void *range)

Definition at line 67 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnSet

Initial value:
void (*)(const wmGizmo *,
const void *value)

Definition at line 63 of file wm_gizmo_fn.hh.