Blender  V3.3
wm_gizmo_target_props.c File Reference
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BKE_context.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_types.h"
#include "wm.h"
#include "ED_keyframing.h"
#include "ED_screen.h"
#include "ED_view3d.h"
#include "wm_gizmo_intern.h"
#include "wm_gizmo_wmapi.h"

Go to the source code of this file.

Functions

Property Definition
BLI_INLINE wmGizmoPropertywm_gizmo_target_property_array (wmGizmo *gz)
 
wmGizmoPropertyWM_gizmo_target_property_array (wmGizmo *gz)
 
wmGizmoPropertyWM_gizmo_target_property_at_index (wmGizmo *gz, int index)
 
wmGizmoPropertyWM_gizmo_target_property_find (wmGizmo *gz, const char *idname)
 
void WM_gizmo_target_property_def_rna_ptr (wmGizmo *gz, const wmGizmoPropertyType *gz_prop_type, PointerRNA *ptr, PropertyRNA *prop, int index)
 
void WM_gizmo_target_property_def_rna (wmGizmo *gz, const char *idname, PointerRNA *ptr, const char *propname, int index)
 
void WM_gizmo_target_property_def_func_ptr (wmGizmo *gz, const wmGizmoPropertyType *gz_prop_type, const wmGizmoPropertyFnParams *params)
 
void WM_gizmo_target_property_def_func (wmGizmo *gz, const char *idname, const wmGizmoPropertyFnParams *params)
 
void WM_gizmo_target_property_clear_rna_ptr (wmGizmo *gz, const wmGizmoPropertyType *gz_prop_type)
 
void WM_gizmo_target_property_clear_rna (wmGizmo *gz, const char *idname)
 
Property Access
bool WM_gizmo_target_property_is_valid_any (wmGizmo *gz)
 
bool WM_gizmo_target_property_is_valid (const wmGizmoProperty *gz_prop)
 
float WM_gizmo_target_property_float_get (const wmGizmo *gz, wmGizmoProperty *gz_prop)
 
void WM_gizmo_target_property_float_set (bContext *C, const wmGizmo *gz, wmGizmoProperty *gz_prop, const float value)
 
void WM_gizmo_target_property_float_get_array (const wmGizmo *gz, wmGizmoProperty *gz_prop, float *value)
 
void WM_gizmo_target_property_float_set_array (bContext *C, const wmGizmo *gz, wmGizmoProperty *gz_prop, const float *value)
 
bool WM_gizmo_target_property_float_range_get (const wmGizmo *gz, wmGizmoProperty *gz_prop, float range[2])
 
int WM_gizmo_target_property_array_length (const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop)
 
Property Define
const wmGizmoPropertyTypeWM_gizmotype_target_property_find (const wmGizmoType *gzt, const char *idname)
 
void WM_gizmotype_target_property_def (wmGizmoType *gzt, const char *idname, int data_type, int array_length)
 
Property Utilities
void WM_gizmo_do_msg_notify_tag_refresh (bContext *UNUSED(C), wmMsgSubscribeKey *UNUSED(msg_key), wmMsgSubscribeValue *msg_val)
 
void WM_gizmo_target_property_subscribe_all (wmGizmo *gz, struct wmMsgBus *mbus, ARegion *region)
 
void WM_gizmo_target_property_anim_autokey (bContext *C, const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop)
 

Function Documentation

◆ WM_gizmo_do_msg_notify_tag_refresh()

void WM_gizmo_do_msg_notify_tag_refresh ( bContext UNUSEDC,
wmMsgSubscribeKey UNUSEDmsg_key,
wmMsgSubscribeValue msg_val 
)

◆ WM_gizmo_target_property_anim_autokey()

void WM_gizmo_target_property_anim_autokey ( bContext C,
const wmGizmo UNUSEDgz,
wmGizmoProperty gz_prop 
)

◆ wm_gizmo_target_property_array()

BLI_INLINE wmGizmoProperty* wm_gizmo_target_property_array ( wmGizmo gz)

◆ WM_gizmo_target_property_array()

wmGizmoProperty* WM_gizmo_target_property_array ( wmGizmo gz)

◆ WM_gizmo_target_property_array_length()

int WM_gizmo_target_property_array_length ( const wmGizmo UNUSEDgz,
wmGizmoProperty gz_prop 
)

◆ WM_gizmo_target_property_at_index()

wmGizmoProperty* WM_gizmo_target_property_at_index ( wmGizmo gz,
int  index 
)

◆ WM_gizmo_target_property_clear_rna()

void WM_gizmo_target_property_clear_rna ( wmGizmo gz,
const char *  idname 
)

◆ WM_gizmo_target_property_clear_rna_ptr()

void WM_gizmo_target_property_clear_rna_ptr ( wmGizmo gz,
const wmGizmoPropertyType gz_prop_type 
)

◆ WM_gizmo_target_property_def_func()

void WM_gizmo_target_property_def_func ( wmGizmo gz,
const char *  idname,
const wmGizmoPropertyFnParams params 
)

◆ WM_gizmo_target_property_def_func_ptr()

void WM_gizmo_target_property_def_func_ptr ( wmGizmo gz,
const wmGizmoPropertyType gz_prop_type,
const wmGizmoPropertyFnParams params 
)

◆ WM_gizmo_target_property_def_rna()

void WM_gizmo_target_property_def_rna ( wmGizmo gz,
const char *  idname,
PointerRNA ptr,
const char *  propname,
int  index 
)

◆ WM_gizmo_target_property_def_rna_ptr()

void WM_gizmo_target_property_def_rna_ptr ( wmGizmo gz,
const wmGizmoPropertyType gz_prop_type,
PointerRNA ptr,
PropertyRNA prop,
int  index 
)

◆ WM_gizmo_target_property_find()

wmGizmoProperty* WM_gizmo_target_property_find ( wmGizmo gz,
const char *  idname 
)

◆ WM_gizmo_target_property_float_get()

float WM_gizmo_target_property_float_get ( const wmGizmo gz,
wmGizmoProperty gz_prop 
)

◆ WM_gizmo_target_property_float_get_array()

void WM_gizmo_target_property_float_get_array ( const wmGizmo gz,
wmGizmoProperty gz_prop,
float value 
)

◆ WM_gizmo_target_property_float_range_get()

bool WM_gizmo_target_property_float_range_get ( const wmGizmo gz,
wmGizmoProperty gz_prop,
float  range[2] 
)

◆ WM_gizmo_target_property_float_set()

void WM_gizmo_target_property_float_set ( bContext C,
const wmGizmo gz,
wmGizmoProperty gz_prop,
const float  value 
)

◆ WM_gizmo_target_property_float_set_array()

void WM_gizmo_target_property_float_set_array ( bContext C,
const wmGizmo gz,
wmGizmoProperty gz_prop,
const float value 
)

◆ WM_gizmo_target_property_is_valid()

bool WM_gizmo_target_property_is_valid ( const wmGizmoProperty gz_prop)

◆ WM_gizmo_target_property_is_valid_any()

bool WM_gizmo_target_property_is_valid_any ( wmGizmo gz)

◆ WM_gizmo_target_property_subscribe_all()

void WM_gizmo_target_property_subscribe_all ( struct wmGizmo gz,
struct wmMsgBus mbus,
struct ARegion region 
)

◆ WM_gizmotype_target_property_def()

void WM_gizmotype_target_property_def ( wmGizmoType gzt,
const char *  idname,
int  data_type,
int  array_length 
)

◆ WM_gizmotype_target_property_find()

const wmGizmoPropertyType* WM_gizmotype_target_property_find ( const wmGizmoType gzt,
const char *  idname 
)