Blender  V3.3
Classes | Typedefs
wm_gizmo_fn.h File Reference
#include "BLI_compiler_attrs.h"

Go to the source code of this file.

Classes

struct  wmGizmoPropertyFnParams
 

Typedefs

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

Detailed Description

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

Definition in file wm_gizmo_fn.h.

Typedef Documentation

◆ wmGizmoFnCursorGet

typedef int(* wmGizmoFnCursorGet) (struct wmGizmo *)

Definition at line 50 of file wm_gizmo_fn.h.

◆ wmGizmoFnDraw

typedef void(* wmGizmoFnDraw) (const struct bContext *, struct wmGizmo *)

Definition at line 39 of file wm_gizmo_fn.h.

◆ wmGizmoFnDrawSelect

typedef void(* wmGizmoFnDrawSelect) (const struct bContext *, struct wmGizmo *, int)

Definition at line 40 of file wm_gizmo_fn.h.

◆ wmGizmoFnExit

typedef void(* wmGizmoFnExit) (struct bContext *, struct wmGizmo *, const bool)

Definition at line 49 of file wm_gizmo_fn.h.

◆ wmGizmoFnFree

typedef void(* wmGizmoFnFree) (struct wmGizmo *)

Definition at line 55 of file wm_gizmo_fn.h.

◆ wmGizmoFnInvoke

typedef int(* wmGizmoFnInvoke) (struct bContext *, struct wmGizmo *, const struct wmEvent *)

Definition at line 48 of file wm_gizmo_fn.h.

◆ wmGizmoFnMatrixBasisGet

typedef void(* wmGizmoFnMatrixBasisGet) (const struct wmGizmo *, float[4][4])

Definition at line 47 of file wm_gizmo_fn.h.

◆ wmGizmoFnModal

typedef int(* wmGizmoFnModal) (struct bContext *, struct wmGizmo *, const struct wmEvent *, eWM_GizmoFlagTweak)

Definition at line 42 of file wm_gizmo_fn.h.

◆ wmGizmoFnPropertyUpdate

typedef void(* wmGizmoFnPropertyUpdate) (struct wmGizmo *, struct wmGizmoProperty *)

Definition at line 46 of file wm_gizmo_fn.h.

◆ wmGizmoFnScreenBoundsGet

typedef bool(* wmGizmoFnScreenBoundsGet) (struct bContext *, struct wmGizmo *, rcti *r_bounding_box) ATTR_WARN_UNUSED_RESULT

Definition at line 51 of file wm_gizmo_fn.h.

◆ wmGizmoFnSelectRefresh

typedef void(* wmGizmoFnSelectRefresh) (struct wmGizmo *)

Definition at line 54 of file wm_gizmo_fn.h.

◆ wmGizmoFnSetup

typedef void(* wmGizmoFnSetup) (struct wmGizmo *)

Definition at line 38 of file wm_gizmo_fn.h.

◆ wmGizmoFnTestSelect

typedef int(* wmGizmoFnTestSelect) (struct bContext *, struct wmGizmo *, const int mval[2])

Definition at line 41 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnDrawPrepare

typedef void(* wmGizmoGroupFnDrawPrepare) (const struct bContext *, struct wmGizmoGroup *)

Definition at line 24 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnInit

typedef void(* wmGizmoGroupFnInit) (const struct bContext *, struct wmGizmoGroup *)

Definition at line 22 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnInvokePrepare

typedef void(* wmGizmoGroupFnInvokePrepare) (const struct bContext *, struct wmGizmoGroup *, struct wmGizmo *, const struct wmEvent *)

Definition at line 25 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnMsgBusSubscribe

typedef void(* wmGizmoGroupFnMsgBusSubscribe) (const struct bContext *, struct wmGizmoGroup *, struct wmMsgBus *)

Definition at line 31 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnPoll

typedef bool(* wmGizmoGroupFnPoll) (const struct bContext *, struct wmGizmoGroupType *) ATTR_WARN_UNUSED_RESULT

Definition at line 20 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnRefresh

typedef void(* wmGizmoGroupFnRefresh) (const struct bContext *, struct wmGizmoGroup *)

Definition at line 23 of file wm_gizmo_fn.h.

◆ wmGizmoGroupFnSetupKeymap

typedef struct wmKeyMap*(* wmGizmoGroupFnSetupKeymap) (const struct wmGizmoGroupType *, struct wmKeyConfig *) ATTR_WARN_UNUSED_RESULT

Definition at line 25 of file wm_gizmo_fn.h.

◆ wmGizmoPropertyFnFree

typedef void(* wmGizmoPropertyFnFree) (const struct wmGizmo *, struct wmGizmoProperty *)

Definition at line 70 of file wm_gizmo_fn.h.

◆ wmGizmoPropertyFnGet

typedef void(* wmGizmoPropertyFnGet) (const struct wmGizmo *, struct wmGizmoProperty *, void *value)

Definition at line 58 of file wm_gizmo_fn.h.

◆ wmGizmoPropertyFnParams

◆ wmGizmoPropertyFnRangeGet

typedef void(* wmGizmoPropertyFnRangeGet) (const struct wmGizmo *, struct wmGizmoProperty *, void *range)

Definition at line 66 of file wm_gizmo_fn.h.

◆ wmGizmoPropertyFnSet

typedef void(* wmGizmoPropertyFnSet) (const struct wmGizmo *, struct wmGizmoProperty *, const void *value)

Definition at line 62 of file wm_gizmo_fn.h.