Blender V4.3
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 = int (*)(bContext *, wmGizmo *, const wmEvent *, eWM_GizmoFlagTweak)
 
using wmGizmoFnPropertyUpdate = void (*)(wmGizmo *, wmGizmoProperty *)
 
using wmGizmoFnMatrixBasisGet = void (*)(const wmGizmo *, float[4][4])
 
using wmGizmoFnInvoke = int (*)(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 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 42 of file wm_gizmo_fn.hh.

◆ wmGizmoFnDraw

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

Definition at line 34 of file wm_gizmo_fn.hh.

◆ wmGizmoFnDrawSelect

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

Definition at line 35 of file wm_gizmo_fn.hh.

◆ wmGizmoFnExit

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

Definition at line 41 of file wm_gizmo_fn.hh.

◆ wmGizmoFnFree

using wmGizmoFnFree = void (*)(wmGizmo *)

Definition at line 45 of file wm_gizmo_fn.hh.

◆ wmGizmoFnInvoke

using wmGizmoFnInvoke = int (*)(bContext *, wmGizmo *, const wmEvent *)

Definition at line 40 of file wm_gizmo_fn.hh.

◆ wmGizmoFnMatrixBasisGet

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

Definition at line 39 of file wm_gizmo_fn.hh.

◆ wmGizmoFnModal

Definition at line 37 of file wm_gizmo_fn.hh.

◆ wmGizmoFnPropertyUpdate

Definition at line 38 of file wm_gizmo_fn.hh.

◆ wmGizmoFnScreenBoundsGet

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

Definition at line 43 of file wm_gizmo_fn.hh.

◆ wmGizmoFnSelectRefresh

using wmGizmoFnSelectRefresh = void (*)(wmGizmo *)

Definition at line 44 of file wm_gizmo_fn.hh.

◆ wmGizmoFnSetup

using wmGizmoFnSetup = void (*)(wmGizmo *)

Definition at line 33 of file wm_gizmo_fn.hh.

◆ wmGizmoFnTestSelect

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

Definition at line 36 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnDrawPrepare

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

Definition at line 22 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnInit

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

Definition at line 20 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnInvokePrepare

Initial value:

Definition at line 23 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnMsgBusSubscribe

Definition at line 28 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnPoll

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

Definition at line 19 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnRefresh

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

Definition at line 21 of file wm_gizmo_fn.hh.

◆ wmGizmoGroupFnSetupKeymap

Definition at line 27 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnFree

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

Definition at line 60 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnGet

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

Definition at line 48 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnRangeGet

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

Definition at line 56 of file wm_gizmo_fn.hh.

◆ wmGizmoPropertyFnSet

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

Definition at line 52 of file wm_gizmo_fn.hh.