2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2008-12-14 14:43:08 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
2018-06-01 18:19:39 +02:00
|
|
|
* of the License, or (at your option) any later version.
|
2008-12-14 14:43:08 +00:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2008-12-14 14:43:08 +00:00
|
|
|
*
|
|
|
|
* The Original Code is Copyright (C) 2008 Blender Foundation.
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
2011-02-27 20:29:51 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
* \ingroup spseq
|
2011-02-27 20:29:51 +00:00
|
|
|
*/
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#ifndef __SEQUENCER_INTERN_H__
|
|
|
|
#define __SEQUENCER_INTERN_H__
|
2008-12-14 14:43:08 +00:00
|
|
|
|
2009-01-26 09:13:15 +00:00
|
|
|
#include "RNA_access.h"
|
|
|
|
#include "DNA_sequence_types.h"
|
|
|
|
|
2008-12-14 14:43:08 +00:00
|
|
|
/* internal exports only */
|
|
|
|
|
2019-01-28 21:08:24 +11:00
|
|
|
struct ARegion;
|
|
|
|
struct ARegionType;
|
2018-04-06 12:07:27 +02:00
|
|
|
struct Depsgraph;
|
2019-01-28 21:08:24 +11:00
|
|
|
struct Main;
|
|
|
|
struct Scene;
|
|
|
|
struct ScrArea;
|
2009-01-12 19:02:08 +00:00
|
|
|
struct Sequence;
|
2019-01-28 21:08:24 +11:00
|
|
|
struct SpaceSeq;
|
|
|
|
struct StripElem;
|
2009-01-12 19:02:08 +00:00
|
|
|
struct bContext;
|
|
|
|
struct rctf;
|
2015-04-20 18:07:34 +02:00
|
|
|
struct wmOperator;
|
2009-01-12 19:02:08 +00:00
|
|
|
|
2009-06-08 10:38:28 +00:00
|
|
|
/* space_sequencer.c */
|
|
|
|
struct ARegion *sequencer_has_buttons_region(struct ScrArea *sa);
|
|
|
|
|
2009-01-12 19:02:08 +00:00
|
|
|
|
|
|
|
/* sequencer_draw.c */
|
2009-11-26 12:22:43 +00:00
|
|
|
void draw_timeline_seq(const struct bContext *C, struct ARegion *ar);
|
2019-02-27 13:48:27 -08:00
|
|
|
void sequencer_draw_preview(const struct bContext *C, struct Scene *scene, struct ARegion *ar, struct SpaceSeq *sseq, int cfra, int offset, bool draw_overlay, bool draw_backdrop);
|
2014-11-24 18:18:35 +01:00
|
|
|
void color3ubv_from_seq(struct Scene *curscene, struct Sequence *seq, unsigned char col[3]);
|
2009-11-26 12:22:43 +00:00
|
|
|
|
2015-01-05 02:12:50 +11:00
|
|
|
void sequencer_special_update_set(Sequence *seq);
|
|
|
|
|
2013-04-03 15:04:24 +00:00
|
|
|
/* UNUSED */
|
|
|
|
// void seq_reset_imageofs(struct SpaceSeq *sseq);
|
2009-01-12 19:02:08 +00:00
|
|
|
|
2018-05-31 12:46:32 +02:00
|
|
|
struct ImBuf *sequencer_ibuf_get(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct SpaceSeq *sseq, int cfra, int frame_ofs, const char *viewname);
|
2012-08-23 16:14:52 +00:00
|
|
|
|
2009-01-12 19:02:08 +00:00
|
|
|
/* sequencer_edit.c */
|
2009-01-20 14:19:39 +00:00
|
|
|
struct View2D;
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
void seq_rectf(struct Sequence *seq, struct rctf *rectf);
|
2009-01-12 19:02:08 +00:00
|
|
|
void boundbox_seq(struct Scene *scene, struct rctf *rect);
|
2011-05-12 16:47:36 +00:00
|
|
|
struct Sequence *find_nearest_seq(struct Scene *scene, struct View2D *v2d, int *hand, const int mval[2]);
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
struct Sequence *find_neighboring_sequence(struct Scene *scene, struct Sequence *test, int lr, int sel);
|
|
|
|
void recurs_sel_seq(struct Sequence *seqm);
|
2010-12-03 17:05:21 +00:00
|
|
|
int seq_effect_find_selected(struct Scene *scene, struct Sequence *activeseq, int type, struct Sequence **selseq1, struct Sequence **selseq2, struct Sequence **selseq3, const char **error_str);
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
|
2010-05-06 07:19:55 +00:00
|
|
|
/* operator helpers */
|
2018-07-02 11:47:00 +02:00
|
|
|
bool sequencer_edit_poll(struct bContext *C);
|
2013-04-03 15:04:24 +00:00
|
|
|
/* UNUSED */
|
2018-07-02 11:47:00 +02:00
|
|
|
//bool sequencer_strip_poll(struct bContext *C);
|
|
|
|
bool sequencer_strip_has_path_poll(struct bContext *C);
|
|
|
|
bool sequencer_view_preview_poll(struct bContext *C);
|
|
|
|
bool sequencer_view_strips_poll(struct bContext *C);
|
2010-05-06 07:19:55 +00:00
|
|
|
|
2009-01-26 09:13:15 +00:00
|
|
|
/* externs */
|
|
|
|
extern EnumPropertyItem sequencer_prop_effect_types[];
|
2009-01-31 09:58:38 +00:00
|
|
|
extern EnumPropertyItem prop_side_types[];
|
2009-01-26 09:13:15 +00:00
|
|
|
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
/* operators */
|
Key Configuration
Keymaps are now saveable and configurable from the user preferences, note
that editing one item in a keymap means the whole keymap is now defined by
the user and will not be updated by Blender, an option for syncing might be
added later. The outliner interface is still there, but I will probably
remove it.
There's actually 3 levels now:
* Default builtin key configuration.
* Key configuration loaded from .py file, for configs like Blender 2.4x
or other 3D applications.
* Keymaps edited by the user and saved in .B.blend. These can be saved
to .py files as well to make creating distributable configurations
easier.
Also, user preferences sections were reorganized a bit, now there is:
Interface, Editing, Input, Files and System.
Implementation notes:
* wmKeyConfig was added which represents a key configuration containing
keymaps.
* wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap.
* Modal maps are not wrapped yet.
* User preferences DNA file reading did not support newdataadr() yet,
added this now for reading keymaps.
* Key configuration related settings are now RNA wrapped.
* is_property_set and is_property_hidden python methods were added.
2009-10-08 18:40:03 +00:00
|
|
|
struct wmKeyConfig;
|
2019-01-28 21:08:24 +11:00
|
|
|
struct wmOperatorType;
|
Key Configuration
Keymaps are now saveable and configurable from the user preferences, note
that editing one item in a keymap means the whole keymap is now defined by
the user and will not be updated by Blender, an option for syncing might be
added later. The outliner interface is still there, but I will probably
remove it.
There's actually 3 levels now:
* Default builtin key configuration.
* Key configuration loaded from .py file, for configs like Blender 2.4x
or other 3D applications.
* Keymaps edited by the user and saved in .B.blend. These can be saved
to .py files as well to make creating distributable configurations
easier.
Also, user preferences sections were reorganized a bit, now there is:
Interface, Editing, Input, Files and System.
Implementation notes:
* wmKeyConfig was added which represents a key configuration containing
keymaps.
* wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap.
* Modal maps are not wrapped yet.
* User preferences DNA file reading did not support newdataadr() yet,
added this now for reading keymaps.
* Key configuration related settings are now RNA wrapped.
* is_property_set and is_property_hidden python methods were added.
2009-10-08 18:40:03 +00:00
|
|
|
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
void SEQUENCER_OT_cut(struct wmOperatorType *ot);
|
2014-10-23 16:48:34 +02:00
|
|
|
void SEQUENCER_OT_slip(struct wmOperatorType *ot);
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
void SEQUENCER_OT_mute(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_unmute(struct wmOperatorType *ot);
|
2009-01-25 14:53:41 +00:00
|
|
|
void SEQUENCER_OT_lock(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_unlock(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_reload(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_refresh_all(struct wmOperatorType *ot);
|
2010-07-03 22:25:22 +00:00
|
|
|
void SEQUENCER_OT_reassign_inputs(struct wmOperatorType *ot);
|
2010-10-30 12:04:00 +00:00
|
|
|
void SEQUENCER_OT_swap_inputs(struct wmOperatorType *ot);
|
2009-07-08 21:41:35 +00:00
|
|
|
void SEQUENCER_OT_duplicate(struct wmOperatorType *ot);
|
2009-01-21 18:47:09 +00:00
|
|
|
void SEQUENCER_OT_delete(struct wmOperatorType *ot);
|
2011-08-14 03:59:22 +00:00
|
|
|
void SEQUENCER_OT_offset_clear(struct wmOperatorType *ot);
|
2009-04-12 20:32:42 +00:00
|
|
|
void SEQUENCER_OT_images_separate(struct wmOperatorType *ot);
|
2009-01-23 23:14:02 +00:00
|
|
|
void SEQUENCER_OT_meta_toggle(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_meta_make(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_meta_separate(struct wmOperatorType *ot);
|
2013-03-26 15:00:56 +00:00
|
|
|
|
2013-03-26 20:34:13 +00:00
|
|
|
void SEQUENCER_OT_gap_remove(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_gap_insert(struct wmOperatorType *ot);
|
2009-06-09 21:29:59 +00:00
|
|
|
void SEQUENCER_OT_snap(struct wmOperatorType *ot);
|
2013-03-26 15:00:56 +00:00
|
|
|
|
2012-08-23 07:39:51 +00:00
|
|
|
void SEQUENCER_OT_strip_jump(struct wmOperatorType *ot);
|
2009-12-15 10:04:54 +00:00
|
|
|
void SEQUENCER_OT_swap(struct wmOperatorType *ot);
|
2010-06-21 17:37:50 +00:00
|
|
|
void SEQUENCER_OT_swap_data(struct wmOperatorType *ot);
|
2009-11-08 15:03:10 +00:00
|
|
|
void SEQUENCER_OT_rendersize(struct wmOperatorType *ot);
|
2009-01-21 18:47:09 +00:00
|
|
|
|
2009-12-14 21:42:25 +00:00
|
|
|
void SEQUENCER_OT_view_toggle(struct wmOperatorType *ot);
|
2009-01-25 14:53:41 +00:00
|
|
|
void SEQUENCER_OT_view_all(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_view_selected(struct wmOperatorType *ot);
|
2016-04-17 12:26:44 +12:00
|
|
|
void SEQUENCER_OT_view_frame(struct wmOperatorType *ot);
|
2010-06-17 14:22:54 +00:00
|
|
|
void SEQUENCER_OT_view_zoom_ratio(struct wmOperatorType *ot);
|
2010-07-08 10:03:29 +00:00
|
|
|
void SEQUENCER_OT_view_ghost_border(struct wmOperatorType *ot);
|
2009-01-20 14:19:39 +00:00
|
|
|
|
2011-08-12 06:08:22 +00:00
|
|
|
void SEQUENCER_OT_change_effect_input(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_change_effect_type(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_change_path(struct wmOperatorType *ot);
|
|
|
|
|
2009-12-17 14:45:47 +00:00
|
|
|
void SEQUENCER_OT_copy(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_paste(struct wmOperatorType *ot);
|
|
|
|
|
== Sequencer ==
This patch adds:
* support for proxy building again (missing feature from Blender 2.49)
additionally to the way, Blender 2.49 worked, you can select several
strips at once and make Blender build proxies in the background (using
the job system)
Also a new thing: movie proxies are now build into AVI files, and
the proxy system is moved into ImBuf-library, so that other parts
of blender can also benefit from it.
* Timecode support: to fix seeking issues with files, that have
a) varying frame rates
b) very large GOP lengths
c) are broken inbetween
d) use different time code tracks
the proxy builder can now also build timecode indices, which are
used (optionally) for seeking.
For the first time, it is possible, to do frame exact seeking on
all file types.
* Support for different video-streams in one video file (can be
selected in sequencer, other parts of blender can also use it,
but UI has to be added accordingly)
* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
older versions don't support the pkt_pts field, that is essential
for building timecode indices.
Windows and Mac libs are already updated, Linux-users have to build
their own ffmpeg verions until distros keep up.
2011-08-28 14:46:03 +00:00
|
|
|
void SEQUENCER_OT_rebuild_proxy(struct wmOperatorType *ot);
|
2015-03-26 15:44:51 +01:00
|
|
|
void SEQUENCER_OT_enable_proxies(struct wmOperatorType *ot);
|
== Sequencer ==
This patch adds:
* support for proxy building again (missing feature from Blender 2.49)
additionally to the way, Blender 2.49 worked, you can select several
strips at once and make Blender build proxies in the background (using
the job system)
Also a new thing: movie proxies are now build into AVI files, and
the proxy system is moved into ImBuf-library, so that other parts
of blender can also benefit from it.
* Timecode support: to fix seeking issues with files, that have
a) varying frame rates
b) very large GOP lengths
c) are broken inbetween
d) use different time code tracks
the proxy builder can now also build timecode indices, which are
used (optionally) for seeking.
For the first time, it is possible, to do frame exact seeking on
all file types.
* Support for different video-streams in one video file (can be
selected in sequencer, other parts of blender can also use it,
but UI has to be added accordingly)
* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
older versions don't support the pkt_pts field, that is essential
for building timecode indices.
Windows and Mac libs are already updated, Linux-users have to build
their own ffmpeg verions until distros keep up.
2011-08-28 14:46:03 +00:00
|
|
|
|
2015-07-03 12:34:23 +02:00
|
|
|
void SEQUENCER_OT_export_subtitles(struct wmOperatorType *ot);
|
|
|
|
|
2009-12-14 21:42:25 +00:00
|
|
|
/* preview specific operators */
|
|
|
|
void SEQUENCER_OT_view_all_preview(struct wmOperatorType *ot);
|
|
|
|
|
2009-01-20 14:19:39 +00:00
|
|
|
/* sequencer_select.c */
|
2012-01-14 07:23:57 +00:00
|
|
|
void SEQUENCER_OT_select_all(struct wmOperatorType *ot);
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
void SEQUENCER_OT_select(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_select_more(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_select_less(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_select_linked(struct wmOperatorType *ot);
|
2009-03-29 02:15:13 +00:00
|
|
|
void SEQUENCER_OT_select_linked_pick(struct wmOperatorType *ot);
|
2009-01-31 09:58:38 +00:00
|
|
|
void SEQUENCER_OT_select_handles(struct wmOperatorType *ot);
|
2009-02-13 14:16:56 +00:00
|
|
|
void SEQUENCER_OT_select_active_side(struct wmOperatorType *ot);
|
2018-10-05 10:27:04 +10:00
|
|
|
void SEQUENCER_OT_select_box(struct wmOperatorType *ot);
|
2009-07-08 21:31:28 +00:00
|
|
|
void SEQUENCER_OT_select_inverse(struct wmOperatorType *ot);
|
2011-09-28 14:12:27 +00:00
|
|
|
void SEQUENCER_OT_select_grouped(struct wmOperatorType *ot);
|
2009-01-20 14:19:39 +00:00
|
|
|
|
|
|
|
/* sequencer_select.c */
|
2009-04-12 20:32:42 +00:00
|
|
|
void SEQUENCER_OT_scene_strip_add(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_movie_strip_add(struct wmOperatorType *ot);
|
2012-03-21 18:02:29 +00:00
|
|
|
void SEQUENCER_OT_movieclip_strip_add(struct wmOperatorType *ot);
|
2012-06-07 18:24:36 +00:00
|
|
|
void SEQUENCER_OT_mask_strip_add(struct wmOperatorType *ot);
|
2009-04-12 20:32:42 +00:00
|
|
|
void SEQUENCER_OT_sound_strip_add(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_image_strip_add(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_effect_strip_add(struct wmOperatorType *ot);
|
2009-01-20 14:19:39 +00:00
|
|
|
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
enum {
|
2010-03-22 09:30:00 +00:00
|
|
|
SEQ_CUT_SOFT,
|
2019-02-03 14:01:45 +11:00
|
|
|
SEQ_CUT_HARD,
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
};
|
|
|
|
enum {
|
2010-03-22 09:30:00 +00:00
|
|
|
SEQ_SELECTED,
|
2019-02-03 14:01:45 +11:00
|
|
|
SEQ_UNSELECTED,
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
};
|
|
|
|
|
2014-09-03 11:18:30 +02:00
|
|
|
enum {
|
|
|
|
SEQ_SELECT_LR_NONE = 0,
|
|
|
|
SEQ_SELECT_LR_MOUSE,
|
|
|
|
SEQ_SELECT_LR_LEFT,
|
2019-02-03 14:01:45 +11:00
|
|
|
SEQ_SELECT_LR_RIGHT,
|
2014-09-03 11:18:30 +02:00
|
|
|
};
|
|
|
|
|
Added back some functionality to the sequencer
- removed static vars _last_seq, last_imagename and last_sounddir, replacing them with with vars in the "Editing" struct. didnt manage to get the active sequence to load so currently thats lost when loading.
- removed flag SEQ_ACTIVE
- Added operators cut, mute, unmute, deselect_all, select_invert, select, select_more, select_less, select_pick_linked, select_linked and borderselect.
2009-01-19 21:42:18 +00:00
|
|
|
/* defines used internally */
|
|
|
|
#define SCE_MARKERS 0 // XXX - dummy
|
|
|
|
|
|
|
|
/* sequencer_ops.c */
|
|
|
|
void sequencer_operatortypes(void);
|
Key Configuration
Keymaps are now saveable and configurable from the user preferences, note
that editing one item in a keymap means the whole keymap is now defined by
the user and will not be updated by Blender, an option for syncing might be
added later. The outliner interface is still there, but I will probably
remove it.
There's actually 3 levels now:
* Default builtin key configuration.
* Key configuration loaded from .py file, for configs like Blender 2.4x
or other 3D applications.
* Keymaps edited by the user and saved in .B.blend. These can be saved
to .py files as well to make creating distributable configurations
easier.
Also, user preferences sections were reorganized a bit, now there is:
Interface, Editing, Input, Files and System.
Implementation notes:
* wmKeyConfig was added which represents a key configuration containing
keymaps.
* wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap.
* Modal maps are not wrapped yet.
* User preferences DNA file reading did not support newdataadr() yet,
added this now for reading keymaps.
* Key configuration related settings are now RNA wrapped.
* is_property_set and is_property_hidden python methods were added.
2009-10-08 18:40:03 +00:00
|
|
|
void sequencer_keymap(struct wmKeyConfig *keyconf);
|
2008-12-14 14:43:08 +00:00
|
|
|
|
2009-01-12 19:02:08 +00:00
|
|
|
/* sequencer_scope.c */
|
2013-03-26 07:29:01 +00:00
|
|
|
struct ImBuf *make_waveform_view_from_ibuf(struct ImBuf *ibuf);
|
|
|
|
struct ImBuf *make_sep_waveform_view_from_ibuf(struct ImBuf *ibuf);
|
|
|
|
struct ImBuf *make_vectorscope_view_from_ibuf(struct ImBuf *ibuf);
|
|
|
|
struct ImBuf *make_zebra_view_from_ibuf(struct ImBuf *ibuf, float perc);
|
|
|
|
struct ImBuf *make_histogram_view_from_ibuf(struct ImBuf *ibuf);
|
2008-12-14 14:43:08 +00:00
|
|
|
|
2009-06-08 10:38:28 +00:00
|
|
|
/* sequencer_buttons.c */
|
2012-06-11 00:21:50 +00:00
|
|
|
void sequencer_buttons_register(struct ARegionType *art);
|
2009-06-08 10:38:28 +00:00
|
|
|
void SEQUENCER_OT_properties(struct wmOperatorType *ot);
|
|
|
|
|
2012-08-19 15:41:56 +00:00
|
|
|
/* sequencer_modifiers.c */
|
|
|
|
void SEQUENCER_OT_strip_modifier_add(struct wmOperatorType *ot);
|
|
|
|
void SEQUENCER_OT_strip_modifier_remove(struct wmOperatorType *ot);
|
2012-08-23 09:04:30 +00:00
|
|
|
void SEQUENCER_OT_strip_modifier_move(struct wmOperatorType *ot);
|
2015-06-15 21:23:09 +02:00
|
|
|
void SEQUENCER_OT_strip_modifier_copy(struct wmOperatorType *ot);
|
2012-08-19 15:41:56 +00:00
|
|
|
|
2012-08-23 16:14:52 +00:00
|
|
|
/* sequencer_view.c */
|
|
|
|
void SEQUENCER_OT_sample(struct wmOperatorType *ot);
|
|
|
|
|
2014-11-24 18:18:35 +01:00
|
|
|
/* sequencer_preview.c */
|
|
|
|
void sequencer_preview_add_sound(const struct bContext *C, struct Sequence *seq);
|
|
|
|
|
2015-04-20 18:07:34 +02:00
|
|
|
/* sequencer_add */
|
2015-06-04 20:40:11 +02:00
|
|
|
int sequencer_image_seq_get_minmax_frame(struct wmOperator *op, int sfra, int *r_minframe, int *r_numdigits);
|
|
|
|
void sequencer_image_seq_reserve_frames(struct wmOperator *op, struct StripElem *se, int len, int minframe, int numdigits);
|
2015-04-20 18:07:34 +02:00
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#endif /* __SEQUENCER_INTERN_H__ */
|