public:
EDL *edl, *new_edl;
Indexable *idxbl;
+ Edit *edit;
MainUndo *undo;
int64_t mtime;
+ double duration;
};
class Stack : public ArrayList<StackItem>
};
+class DrawTrackMovement : public Thread
+{
+public:
+ DrawTrackMovement(MWindow *mwindow);
+ ~DrawTrackMovement();
+ void run();
+
+ MWindow *mwindow;
+};
+
+class ConfirmRefWindow : public BC_Window
+{
+public:
+ ConfirmRefWindow(MWindow *mwindow, char *path,
+ int px, int py, int cw, int ch);
+ ~ConfirmRefWindow();
+ void create_objects();
+
+ MWindow *mwindow;
+ const char *path;
+};
+
+
class MWindow : public Thread
{
public:
void close_mixers(int result=1);
void open_mixers();
ZWindow *get_mixer(Mixer *&mixer);
- void del_mixer(ZWindow *zwindow);
+ ZWindow *get_mixer(int idx);
+ void close_mixer(ZWindow *zwindow);
int mixer_track_active(Track *track);
void update_mixer_tracks();
void start_mixer();
int select_zwindow(ZWindow *zwindow);
void tile_mixers();
+ int masters_to_mixers();
+ void mix_masters();
+ void set_gang_tracks(int v);
int load_filenames(ArrayList<char*> *filenames,
int load_mode = LOADMODE_REPLACE,
int edl_mode = LOADMODE_EDL_CLIP,
int interrupt_indexes(); // Stop index building
int redraw_time_dependancies(); // after reconfiguring the time format, sample rate, frame rate
+ void draw_trackmovement(); // after reconfiguring tracks/patchbay guis
+ DrawTrackMovement *redraw_tracks;
// =========================================== movement
void toggle_projector_xyz();
double get_position();
void set_position(double position);
+ double get_timecode_offset();
+ void set_timecode_offset(double offset);
+ void align_timecodes();
// seek to labels
// shift_down must be passed by the caller because different windows call
AUDIO_5_1_TO_2,
AUDIO_1_TO_1
};
- void add_audio_track_entry(int above, Track *dst);
- int add_audio_track(int above, Track *dst);
void add_clip_to_edl(EDL *edl);
- void add_video_track_entry(Track *dst = 0);
- int add_video_track(int above, Track *dst);
- void add_subttl_track_entry(Track *dst = 0);
- int add_subttl_track(int above, Track *dst);
+ void add_audio_track_entry(int above, Track *dst);
+ Track *add_audio_track(int above, Track *dst);
+ void add_video_track_entry(int above, Track *dst);
+ Track *add_video_track(int above, Track *dst);
+ void add_subttl_track_entry(int above, Track *dst);
+ Track *add_subttl_track(int above, Track *dst);
void asset_to_all();
void asset_to_size();
// TrackCanvas calls this to insert multiple effects from the drag_pluginservers
// into pluginset_highlighted.
- void insert_effects_canvas(double start, double length);
+ void insert_effects_canvas(Track *dest_track, double start, double length);
// CWindow calls this to insert multiple effects from
// the drag_pluginservers array.
void move_tracks_down();
void move_track_up(Track *track);
void move_tracks_up();
+ void swap_track_down(Track *track);
+ void swap_tracks_down();
+ void swap_track_up(Track *track);
+ void swap_tracks_up();
void mute_selection();
void new_folder(const char *new_folder, int is_clips);
void delete_folder(char *folder);
// in the clipboard.
int paste_default_keyframe();
int clear_default_keyframe();
+ void create_keyframes(int mask, int mode);
FloatAuto* get_float_auto(PatchGUI *patch,int idx);
IntAuto* get_int_auto(PatchGUI *patch,int idx);
void dump_edl(FILE *fp=stdout);
void dump_undo(FILE *fp=stdout);
void dump_exe(FILE *fp=stdout);
+ void dump_caches(FILE *fp=stdout);
static void trap_hook(FILE *fp, void *vp);
void reset_android_remote();
static void add_plugins(ArrayList<PluginServer*> &plugins);
static void delete_plugins();
void speed_before();
- int speed_after(int done);
- int normalize_speed(EDL *old_edl, EDL *new_edl);
+ int speed_after(int done, int edit_speed);
+ int normalize_speed(EDL *old_edl, EDL *new_edl, int edit_speed);
int get_cpus(int out_w, int out_h);
int get_cpus();
//