Cleanup: rename gizmo access functions

Add float in API names since we may want access to other types.
This commit is contained in:
2018-08-21 16:42:12 +10:00
parent 4f06c7c838
commit f189ad1f4b
9 changed files with 31 additions and 31 deletions

View File

@@ -199,16 +199,16 @@ void WM_gizmo_target_property_clear_rna(
bool WM_gizmo_target_property_is_valid_any(struct wmGizmo *gz);
bool WM_gizmo_target_property_is_valid(
const struct wmGizmoProperty *gz_prop);
float WM_gizmo_target_property_value_get(
float WM_gizmo_target_property_float_get(
const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop);
void WM_gizmo_target_property_value_set(
void WM_gizmo_target_property_float_set(
struct bContext *C, const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop,
const float value);
void WM_gizmo_target_property_value_get_array(
void WM_gizmo_target_property_float_get_array(
const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop,
float *value);
void WM_gizmo_target_property_value_set_array(
void WM_gizmo_target_property_float_set_array(
struct bContext *C, const struct wmGizmo *gz, struct wmGizmoProperty *gz_prop,
const float *value);