Blender  V2.59
anim_intern.h
Go to the documentation of this file.
00001 /*
00002  * $Id: anim_intern.h 35242 2011-02-27 20:29:51Z jesterking $
00003  *
00004  * ***** BEGIN GPL LICENSE BLOCK *****
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * The Original Code is Copyright (C) 2009, Blender Foundation, Joshua Leung
00021  * This is a new part of Blender (with some old code)
00022  *
00023  * Contributor(s): Joshua Leung
00024  *
00025  * ***** END GPL LICENSE BLOCK *****
00026  */
00027 
00033 #ifndef ANIM_INTERN_H
00034 #define ANIM_INTERN_H
00035 
00036 /* KeyingSets/Keyframing Interface ------------- */
00037 
00038 /* list of builtin KeyingSets (defined in keyingsets.c) */
00039 extern ListBase builtin_keyingsets;
00040 
00041 /* Operator Define Prototypes ------------------- */
00042 
00043 /* Main Keyframe Management operators: 
00044  *      These handle keyframes management from various spaces. They only make use of
00045  *      Keying Sets.
00046  */
00047 void ANIM_OT_keyframe_insert(struct wmOperatorType *ot);
00048 void ANIM_OT_keyframe_delete(struct wmOperatorType *ot);
00049 
00050 /* Main Keyframe Management operators: 
00051  *      These handle keyframes management from various spaces. They will handle the menus 
00052  *      required for each space.
00053  */
00054 void ANIM_OT_keyframe_insert_menu(struct wmOperatorType *ot);
00055 void ANIM_OT_keyframe_delete_v3d(struct wmOperatorType *ot);
00056 
00057 /* Keyframe managment operators for UI buttons (RMB menu). */
00058 void ANIM_OT_keyframe_insert_button(struct wmOperatorType *ot);
00059 void ANIM_OT_keyframe_delete_button(struct wmOperatorType *ot);
00060 
00061 /* .......... */
00062 
00063 /* KeyingSet managment operators for UI buttons (RMB menu) */
00064 void ANIM_OT_keyingset_button_add(struct wmOperatorType *ot);
00065 void ANIM_OT_keyingset_button_remove(struct wmOperatorType *ot);
00066 
00067 /* KeyingSet management operators for RNA collections/UI buttons */
00068 void ANIM_OT_keying_set_add(struct wmOperatorType *ot);
00069 void ANIM_OT_keying_set_remove(struct wmOperatorType *ot);
00070 void ANIM_OT_keying_set_path_add(struct wmOperatorType *ot);
00071 void ANIM_OT_keying_set_path_remove(struct wmOperatorType *ot);
00072 
00073 /* KeyingSet general operators */
00074 void ANIM_OT_keying_set_active_set(struct wmOperatorType *ot);
00075 
00076 /* .......... */
00077 
00078 /* Driver management operators for UI buttons (RMB menu) */
00079 void ANIM_OT_driver_button_add(struct wmOperatorType *ot);
00080 void ANIM_OT_driver_button_remove(struct wmOperatorType *ot);
00081 void ANIM_OT_copy_driver_button(struct wmOperatorType *ot);
00082 void ANIM_OT_paste_driver_button(struct wmOperatorType *ot);
00083 
00084 #endif // ANIM_INTERN_H