|
Blender
V2.59
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "BKE_context.h"#include "BKE_fcurve.h"#include "ED_keyframing.h"#include "UI_interface.h"#include "WM_api.h"#include "WM_types.h"#include "interface_intern.h"Go to the source code of this file.
Functions | |
| static FCurve * | ui_but_get_fcurve (uiBut *but, bAction **action, int *driven) |
| void | ui_but_anim_flag (uiBut *but, float cfra) |
| int | ui_but_anim_expression_get (uiBut *but, char *str, int maxlen) |
| int | ui_but_anim_expression_set (uiBut *but, const char *str) |
| void | ui_but_anim_autokey (bContext *C, uiBut *but, Scene *scene, float cfra) |
| void | ui_but_anim_insert_keyframe (bContext *C) |
| void | ui_but_anim_delete_keyframe (bContext *C) |
| void | ui_but_anim_add_driver (bContext *C) |
| void | ui_but_anim_remove_driver (bContext *C) |
| void | ui_but_anim_copy_driver (bContext *C) |
| void | ui_but_anim_paste_driver (bContext *C) |
| void | ui_but_anim_add_keyingset (bContext *C) |
| void | ui_but_anim_remove_keyingset (bContext *C) |
Definition in file interface_anim.c.
| void ui_but_anim_add_driver | ( | bContext * | C | ) |
Definition at line 159 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
| void ui_but_anim_add_keyingset | ( | bContext * | C | ) |
Definition at line 183 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
Definition at line 123 of file interface_anim.c.
References ANIM_get_keyframing_flags(), FCurve::array_index, autokeyframe_cfra_can_key(), CTX_wm_reports(), PointerRNA::data, FCURVE_SELECTED, FCurve::flag, FCurve::grp, PointerRNA::id, insert_keyframe(), NA_EDITED, bActionGroup::name, NC_ANIMATION, ND_KEYFRAME, NULL, FCurve::rna_path, uiBut::rnapoin, ui_but_get_fcurve(), and WM_event_add_notifier().
Referenced by ui_apply_autokey_undo().
| void ui_but_anim_copy_driver | ( | bContext * | C | ) |
Definition at line 171 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
| void ui_but_anim_delete_keyframe | ( | bContext * | C | ) |
Definition at line 153 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
| int ui_but_anim_expression_get | ( | uiBut * | but, |
| char * | str, | ||
| int | maxlen | ||
| ) |
Definition at line 81 of file interface_anim.c.
References BLI_strncpy(), FCurve::driver, DRIVER_TYPE_PYTHON, ChannelDriver::expression, NULL, ChannelDriver::type, and ui_but_get_fcurve().
Referenced by ui_get_but_string(), and ui_tooltip_create().
| int ui_but_anim_expression_set | ( | uiBut * | but, |
| const char * | str | ||
| ) |
Definition at line 101 of file interface_anim.c.
References BLI_strncpy(), uiBut::block, FCurve::driver, DRIVER_FLAG_RECOMPILE, DRIVER_TYPE_PYTHON, uiBlock::evil_C, ChannelDriver::expression, ChannelDriver::flag, NC_ANIMATION, ND_KEYFRAME, NULL, ChannelDriver::type, ui_but_get_fcurve(), and WM_event_add_notifier().
Referenced by ui_set_but_string().
| void ui_but_anim_flag | ( | uiBut * | but, |
| float | cfra | ||
| ) |
Definition at line 59 of file interface_anim.c.
References fcurve_frame_has_keyframe(), uiBut::flag, NULL, UI_BUT_ANIMATED, UI_BUT_ANIMATED_KEY, UI_BUT_DRIVEN, and ui_but_get_fcurve().
Referenced by uiContextAnimUpdate(), and uiEndBlock().
| void ui_but_anim_insert_keyframe | ( | bContext * | C | ) |
Definition at line 147 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
| void ui_but_anim_paste_driver | ( | bContext * | C | ) |
Definition at line 177 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
| void ui_but_anim_remove_driver | ( | bContext * | C | ) |
Definition at line 165 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
| void ui_but_anim_remove_keyingset | ( | bContext * | C | ) |
Definition at line 189 of file interface_anim.c.
References NULL, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by ui_do_button().
Definition at line 54 of file interface_anim.c.
References rna_get_fcurve(), uiBut::rnaindex, uiBut::rnapoin, and uiBut::rnaprop.
Referenced by ui_but_anim_autokey(), ui_but_anim_expression_get(), ui_but_anim_expression_set(), and ui_but_anim_flag().