Adds the following selection methods to the Sequence Editor:
[blender-staging.git] / source / blender / include / BIF_editseq.h
1 /**
2  * $Id$
3  *
4  * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version. The Blender
10  * Foundation also sells licenses for use in proprietary software under
11  * the Blender License.  See http://www.blender.org/BL/ for information
12  * about this.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22  *
23  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
24  * All rights reserved.
25  *
26  * The Original Code is: all of this file.
27  *
28  * Contributor(s): none yet.
29  *
30  * ***** END GPL/BL DUAL LICENSE BLOCK *****
31  */
32
33 #ifndef BIF_EDITSEQ_H
34 #define BIF_EDITSEQ_H
35
36 struct Sequence;
37
38 void                            add_duplicate_seq(void);
39 void                            add_sequence(int type);
40 void                            borderselect_seq(void);
41 void                            boundbox_seq(void);
42 void                            change_sequence(void);
43 void                            update_seq_ipo_rect(struct Sequence * seq);
44 void                            update_seq_icu_rects(struct Sequence * seq);
45 struct Sequence*        get_last_seq();
46 void                            set_last_seq(struct Sequence * seq);
47 void                            clear_last_seq();
48 void                            del_seq(void);
49 void                            enter_meta(void);
50 void                            exit_meta(void);
51 struct Sequence*        find_neighboring_sequence(struct Sequence *test, int lr);
52 struct Sequence*        find_nearest_seq(int *hand);
53 int                                     insert_gap(int gap, int cfra);
54 void                            make_meta(void);
55 void                            select_channel_direction(struct Sequence *test,int lr);
56 void                            mouse_select_seq(void);
57 void                            no_gaps(void);
58 void                            seq_snap(short event);
59 void                            seq_snap_menu(void);
60 void                            set_filter_seq(void);
61 void                            swap_select_seq(void);
62 void                            touch_seq_files(void);
63 void                            seq_remap_paths(void);
64 void                            transform_seq(int mode, int context);
65 void                            un_meta(void);
66 void                            seq_cut(int cutframe);
67 void                            reassign_inputs_seq_effect(void);
68 void                            select_surrounding_handles(struct Sequence *test);
69 void                            select_surround_from_last();
70 void                            select_dir_from_last(int lr);
71 void                            select_neighbor_from_last(int lr);
72 struct Sequence*        alloc_sequence(ListBase *lb, int cfra, int machine); /*used from python*/
73
74 /* drawseq.c */
75 void do_seqbuttons(short);
76
77 #endif
78