4 * Copyright (C) 2008 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 "assetedit.inc"
26 #include "awindowgui.inc"
27 #include "clippopup.inc"
31 #include "mwindow.inc"
35 class ClipPopup : public BC_PopupMenu
38 ClipPopup(MWindow *mwindow, AWindowGUI *gui);
41 void create_objects();
42 // Set mainsession with the current selections
54 AWindowListFormat *format;
56 ClipPopupOpenEDL *open_edl;
58 ClipPopupViewWindow *view_window;
60 ClipPopupToMedia *to_media;
61 ClipPopupPaste *paste;
64 class ClipPopupInfo : public BC_MenuItem
67 ClipPopupInfo(MWindow *mwindow, ClipPopup *popup);
71 int button_press_event();
77 class ClipPopupSort : public BC_MenuItem
80 ClipPopupSort(MWindow *mwindow, ClipPopup *popup);
89 class ClipPopupView : public BC_MenuItem
92 ClipPopupView(MWindow *mwindow, ClipPopup *popup);
102 class ClipPopupViewWindow : public BC_MenuItem
105 ClipPopupViewWindow(MWindow *mwindow, ClipPopup *popup);
106 ~ClipPopupViewWindow();
114 class ClipPopupCopy : public BC_MenuItem
117 ClipPopupCopy(MWindow *mwindow, ClipPopup *popup);
126 class ClipPopupPaste : public BC_MenuItem
129 ClipPopupPaste(MWindow *mwindow, ClipPopup *popup);
138 class ClipMatchSize : public BC_MenuItem
141 ClipMatchSize(MWindow *mwindow, ClipPopup *popup);
149 class ClipMatchRate : public BC_MenuItem
152 ClipMatchRate(MWindow *mwindow, ClipPopup *popup);
160 class ClipMatchAll : public BC_MenuItem
163 ClipMatchAll(MWindow *mwindow, ClipPopup *popup);
171 class ClipPopupDelete : public BC_MenuItem
174 ClipPopupDelete(MWindow *mwindow, ClipPopup *popup);
184 class ClipPasteToFolder : public BC_MenuItem
187 ClipPasteToFolder(MWindow *mwindow);
193 class ClipListFormat : public BC_MenuItem
196 ClipListFormat(MWindow *mwindow, ClipListMenu *menu);
203 class ClipListMenu : public BC_PopupMenu
206 ClipListMenu(MWindow *mwindow, AWindowGUI *gui);
209 void create_objects();
211 AWindowListFormat *format;
216 class ClipPopupToMedia : public BC_MenuItem
219 ClipPopupToMedia(MWindow *mwindow, ClipPopup *popup);
228 class ClipPopupOpenEDL : public BC_MenuItem
231 ClipPopupOpenEDL(MWindow *mwindow, ClipPopup *popup);