Blender
V3.3
|
#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 "RNA_path.h"
#include "RNA_prototypes.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 210 of file anim_ipo_utils.c.
Automatically determine a color for the nth F-Curve.
Definition at line 214 of file anim_ipo_utils.c.
References float(), HSV_BANDWIDTH, hsv_to_rgb_v(), and usdtokens::out().
Referenced by graph_refresh_fcurve_colors().
Get icon + name for channel-list displays for F-Curve.
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 32 of file anim_ipo_utils.c.
References FCurve::array_index, BLI_snprintf(), BLI_sprintfN(), BLI_str_quoted_substr(), Freestyle::c, PointerRNA::data, ELEM, FCURVE_DISABLED, FCurve::flag, GS, ID_SCE, MEM_freeN, ID::name, 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_is_a(), 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().