Blender V2.61 - r43446

anim_intern.h

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