|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "BLT_translation.h"#include "DNA_anim_types.h"#include "RNA_access.h"#include "ED_anim_api.h"Go to the source code of this file.
Macros | |
| #define | HSV_BANDWIDTH 0.3f |
Functions | |
| int | getname_anim_fcurve (char *name, ID *id, FCurve *fcu) |
| void | getcolor_fcurve_rainbow (int cur, int tot, float out[3]) |
| #define HSV_BANDWIDTH 0.3f |
Definition at line 205 of file anim_ipo_utils.c.
| void getcolor_fcurve_rainbow | ( | int | cur, |
| int | tot, | ||
| float | out[3] | ||
| ) |
Definition at line 209 of file anim_ipo_utils.c.
References float(), HSV_BANDWIDTH, and hsv_to_rgb_v().
Referenced by graph_refresh_fcurve_colors().
Write into "name" buffer, the name of the property (retrieved using RNA from the curve's settings), and return the icon used for the struct that this property refers to
Definition at line 54 of file anim_ipo_utils.c.
References FCurve::array_index, BLI_snprintf(), BLI_sprintfN(), BLI_str_quoted_substrN(), Freestyle::c, PointerRNA::data, ELEM, FCURVE_DISABLED, FCurve::flag, MEM_freeN, NULL, PointerRNA::owner_id, ptr, RNA_id_pointer_create(), FCurve::rna_path, RNA_path_resolve_property(), RNA_property_array_check(), RNA_property_array_item_char(), RNA_property_string_get_alloc(), RNA_property_ui_name(), RNA_struct_name_property(), RNA_struct_ui_icon(), RNA_struct_ui_name(), TIP_, and PointerRNA::type.
Referenced by acf_fcurve_name(), graph_draw_driven_property_panel(), and graph_panel_properties().