r632: Boost up the requirement for mjpegtools to 1.6.3
[cinelerra_cv/mob.git] / cinelerra / assetpopup.h
blob6b7fcc87f4145d681ed7fcdfdc36835259a63320
1 #ifndef ASSETPOPUP_H
2 #define ASSETPOPUP_H
4 class AssetPopupInfo;
5 class AssetPopupBuildIndex;
6 class AssetPopupView;
8 #include "assetedit.inc"
9 #include "awindowgui.inc"
10 #include "awindowmenu.inc"
11 #include "edl.inc"
12 #include "guicast.h"
13 #include "mwindow.inc"
14 #include "assets.inc"
18 class AssetPopup : public BC_PopupMenu
20 public:
21 AssetPopup(MWindow *mwindow, AWindowGUI *gui);
22 ~AssetPopup();
24 void create_objects();
25 // Set mainsession with the current selections
26 int update();
27 void paste_assets();
28 void match_size();
30 MWindow *mwindow;
31 AWindowGUI *gui;
34 AssetPopupInfo *info;
35 AssetPopupBuildIndex *index;
36 AssetPopupView *view;
37 AssetListFormat *format;
40 class AssetPopupInfo : public BC_MenuItem
42 public:
43 AssetPopupInfo(MWindow *mwindow, AssetPopup *popup);
44 ~AssetPopupInfo();
46 int handle_event();
48 MWindow *mwindow;
49 AssetPopup *popup;
52 class AssetPopupSort : public BC_MenuItem
54 public:
55 AssetPopupSort(MWindow *mwindow, AssetPopup *popup);
56 ~AssetPopupSort();
58 int handle_event();
60 MWindow *mwindow;
61 AssetPopup *popup;
64 class AssetPopupBuildIndex : public BC_MenuItem
66 public:
67 AssetPopupBuildIndex(MWindow *mwindow, AssetPopup *popup);
68 ~AssetPopupBuildIndex();
70 int handle_event();
72 MWindow *mwindow;
73 AssetPopup *popup;
77 class AssetPopupView : public BC_MenuItem
79 public:
80 AssetPopupView(MWindow *mwindow, AssetPopup *popup);
81 ~AssetPopupView();
83 int handle_event();
85 MWindow *mwindow;
86 AssetPopup *popup;
89 class AssetPopupPaste : public BC_MenuItem
91 public:
92 AssetPopupPaste(MWindow *mwindow, AssetPopup *popup);
93 ~AssetPopupPaste();
95 int handle_event();
97 MWindow *mwindow;
98 AssetPopup *popup;
101 class AssetMatchSize : public BC_MenuItem
103 public:
104 AssetMatchSize(MWindow *mwindow, AssetPopup *popup);
105 ~AssetMatchSize();
107 int handle_event();
109 MWindow *mwindow;
110 AssetPopup *popup;
113 class AssetPopupProjectRemove : public BC_MenuItem
115 public:
116 AssetPopupProjectRemove(MWindow *mwindow, AssetPopup *popup);
117 ~AssetPopupProjectRemove();
119 int handle_event();
121 MWindow *mwindow;
122 AssetPopup *popup;
125 class AssetPopupDiskRemove : public BC_MenuItem
127 public:
128 AssetPopupDiskRemove(MWindow *mwindow, AssetPopup *popup);
129 ~AssetPopupDiskRemove();
131 int handle_event();
133 MWindow *mwindow;
134 AssetPopup *popup;
138 #endif