2 * ***** BEGIN GPL LICENSE BLOCK *****
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * The Original Code is Copyright (C) 2009, Blender Foundation, Joshua Leung
19 * This is a new part of Blender (with some old code)
21 * Contributor(s): Joshua Leung
23 * ***** END GPL LICENSE BLOCK *****
26 /** \file blender/editors/animation/anim_intern.h
27 * \ingroup edanimation
31 #ifndef __ANIM_INTERN_H__
32 #define __ANIM_INTERN_H__
34 /* KeyingSets/Keyframing Interface ------------- */
36 /* list of builtin KeyingSets (defined in keyingsets.c) */
37 extern ListBase builtin_keyingsets;
39 /* Operator Define Prototypes ------------------- */
41 /* Main Keyframe Management operators:
42 * These handle keyframes management from various spaces. They only make use of
45 void ANIM_OT_keyframe_insert(struct wmOperatorType *ot);
46 void ANIM_OT_keyframe_delete(struct wmOperatorType *ot);
48 /* Main Keyframe Management operators:
49 * These handle keyframes management from various spaces. They will handle the menus
50 * required for each space.
52 void ANIM_OT_keyframe_insert_menu(struct wmOperatorType *ot);
54 void ANIM_OT_keyframe_delete_v3d(struct wmOperatorType *ot);
55 void ANIM_OT_keyframe_clear_v3d(struct wmOperatorType *ot);
57 /* Keyframe management operators for UI buttons (RMB menu). */
58 void ANIM_OT_keyframe_insert_button(struct wmOperatorType *ot);
59 void ANIM_OT_keyframe_delete_button(struct wmOperatorType *ot);
60 void ANIM_OT_keyframe_clear_button(struct wmOperatorType *ot);
64 /* KeyingSet management operators for UI buttons (RMB menu) */
65 void ANIM_OT_keyingset_button_add(struct wmOperatorType *ot);
66 void ANIM_OT_keyingset_button_remove(struct wmOperatorType *ot);
68 /* KeyingSet management operators for RNA collections/UI buttons */
69 void ANIM_OT_keying_set_add(struct wmOperatorType *ot);
70 void ANIM_OT_keying_set_remove(struct wmOperatorType *ot);
71 void ANIM_OT_keying_set_path_add(struct wmOperatorType *ot);
72 void ANIM_OT_keying_set_path_remove(struct wmOperatorType *ot);
74 /* KeyingSet general operators */
75 void ANIM_OT_keying_set_active_set(struct wmOperatorType *ot);
79 /* Driver management operators for UI buttons (RMB menu) */
80 void ANIM_OT_driver_button_add(struct wmOperatorType *ot);
81 void ANIM_OT_driver_button_remove(struct wmOperatorType *ot);
82 void ANIM_OT_copy_driver_button(struct wmOperatorType *ot);
83 void ANIM_OT_paste_driver_button(struct wmOperatorType *ot);
85 #endif /* __ANIM_INTERN_H__ */