4 * Copyright (C) 1997-2012 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 #include "arraylist.h"
29 #include "filexml.inc"
30 #include "mwindow.inc"
31 #include "renderengine.inc"
32 #include "zwindowgui.inc"
38 ArrayList<int> mixer_ids;
41 Mixer(int idx, int show);
42 void save(FileXML *file);
43 int load(FileXML *file);
44 void copy_from(Mixer &that);
45 void set_title(const char *tp);
46 void reposition(int x, int y, int w, int h);
49 class Mixers : public ArrayList<Mixer *>
54 Mixer *new_mixer(int show=0);
55 Mixer *get_mixer(int idx);
56 void del_mixer(Mixer *mixer);
57 void save(FileXML *file);
58 int load(FileXML *file);
59 void copy_from(Mixers &that);
63 class ZWindow : public BC_DialogThread
66 ZWindow(MWindow *mwindow);
69 void handle_done_event(int result);
70 void handle_close_event(int result);
71 void change_source(EDL *edl);
72 void stop_playback(int wait);
73 void handle_mixer(int command, int wait_tracking,
74 int use_inout, int toggle_audio, int loop_play, float speed);
75 void update_mixer_ids();
76 void set_title(const char *tp);
77 void reposition(int x, int y, int w, int h);
85 int highlighted, playable;
86 char title[BCTEXTLEN];