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
55 ClipPopupViewWindow *view_window;
56 AWindowListFormat *format;
59 class ClipPopupInfo : public BC_MenuItem
62 ClipPopupInfo(MWindow *mwindow, ClipPopup *popup);
66 int button_press_event();
72 class ClipPopupSort : public BC_MenuItem
75 ClipPopupSort(MWindow *mwindow, ClipPopup *popup);
84 class ClipPopupView : public BC_MenuItem
87 ClipPopupView(MWindow *mwindow, ClipPopup *popup);
97 class ClipPopupViewWindow : public BC_MenuItem
100 ClipPopupViewWindow(MWindow *mwindow, ClipPopup *popup);
101 ~ClipPopupViewWindow();
109 class ClipPopupCopy : public BC_MenuItem
112 ClipPopupCopy(MWindow *mwindow, ClipPopup *popup);
121 class ClipPopupPaste : public BC_MenuItem
124 ClipPopupPaste(MWindow *mwindow, ClipPopup *popup);
133 class ClipMatchSize : public BC_MenuItem
136 ClipMatchSize(MWindow *mwindow, ClipPopup *popup);
144 class ClipMatchRate : public BC_MenuItem
147 ClipMatchRate(MWindow *mwindow, ClipPopup *popup);
155 class ClipMatchAll : public BC_MenuItem
158 ClipMatchAll(MWindow *mwindow, ClipPopup *popup);
166 class ClipPopupDelete : public BC_MenuItem
169 ClipPopupDelete(MWindow *mwindow, ClipPopup *popup);
179 class ClipPasteToFolder : public BC_MenuItem
182 ClipPasteToFolder(MWindow *mwindow);
188 class ClipListFormat : public BC_MenuItem
191 ClipListFormat(MWindow *mwindow, ClipListMenu *menu);
198 class ClipListMenu : public BC_PopupMenu
201 ClipListMenu(MWindow *mwindow, AWindowGUI *gui);
204 void create_objects();
206 AWindowListFormat *format;
211 class ClipPopupNest : public BC_MenuItem
214 ClipPopupNest(MWindow *mwindow, ClipPopup *popup);
223 class ClipPopupUnNest : public BC_MenuItem
226 ClipPopupUnNest(MWindow *mwindow, ClipPopup *popup);