r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / editpopup.h
blob03328d74a7e94b9f480baa749e9a4a480f36bf48
1 #ifndef EDITPOPUP_H
2 #define EDITPOPUP_H
4 #include "guicast.h"
5 #include "mwindow.inc"
6 #include "mwindowgui.inc"
7 #include "edit.inc"
8 #include "plugindialog.inc"
9 #include "resizetrackthread.inc"
12 class EditPopupResize;
13 class EditPopupMatchSize;
15 class EditPopup : public BC_PopupMenu
17 public:
18 EditPopup(MWindow *mwindow, MWindowGUI *gui);
19 ~EditPopup();
21 void create_objects();
22 int update(Track *track, Edit *edit);
24 MWindow *mwindow;
25 MWindowGUI *gui;
26 // Acquired through the update command as the edit currently being operated on
27 // Edit *edit;
28 Track *track;
29 EditPopupResize *resize_option;
30 EditPopupMatchSize *matchsize_option;
33 class EditPopupMatchSize : public BC_MenuItem
35 public:
36 EditPopupMatchSize(MWindow *mwindow, EditPopup *popup);
37 ~EditPopupMatchSize();
38 int handle_event();
39 MWindow *mwindow;
40 EditPopup *popup;
43 class EditPopupResize : public BC_MenuItem
45 public:
46 EditPopupResize(MWindow *mwindow, EditPopup *popup);
47 ~EditPopupResize();
48 int handle_event();
49 MWindow *mwindow;
50 EditPopup *popup;
51 ResizeTrackThread *dialog_thread;
54 class EditPopupDeleteTrack : public BC_MenuItem
56 public:
57 EditPopupDeleteTrack(MWindow *mwindow, EditPopup *popup);
58 int handle_event();
59 MWindow *mwindow;
60 EditPopup *popup;
63 class EditPopupAddTrack : public BC_MenuItem
65 public:
66 EditPopupAddTrack(MWindow *mwindow, EditPopup *popup);
67 int handle_event();
68 MWindow *mwindow;
69 EditPopup *popup;
73 class EditAttachEffect : public BC_MenuItem
75 public:
76 EditAttachEffect(MWindow *mwindow, EditPopup *popup);
77 ~EditAttachEffect();
79 int handle_event();
81 MWindow *mwindow;
82 EditPopup *popup;
83 PluginDialogThread *dialog_thread;
86 class EditMoveTrackUp : public BC_MenuItem
88 public:
89 EditMoveTrackUp(MWindow *mwindow, EditPopup *popup);
90 ~EditMoveTrackUp();
92 int handle_event();
94 MWindow *mwindow;
95 EditPopup *popup;
98 class EditMoveTrackDown : public BC_MenuItem
100 public:
101 EditMoveTrackDown(MWindow *mwindow, EditPopup *popup);
102 ~EditMoveTrackDown();
104 int handle_event();
106 MWindow *mwindow;
107 EditPopup *popup;
110 #endif