r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git] / cinelerra / assetpopup.h
blob9209b23dcaa41825637d4b1c054880b4f7bca0e9
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();
29 void match_rate();
31 MWindow *mwindow;
32 AWindowGUI *gui;
35 AssetPopupInfo *info;
36 AssetPopupBuildIndex *index;
37 AssetPopupView *view;
38 AssetListFormat *format;
41 class AssetPopupInfo : public BC_MenuItem
43 public:
44 AssetPopupInfo(MWindow *mwindow, AssetPopup *popup);
45 ~AssetPopupInfo();
47 int handle_event();
49 MWindow *mwindow;
50 AssetPopup *popup;
53 class AssetPopupSort : public BC_MenuItem
55 public:
56 AssetPopupSort(MWindow *mwindow, AssetPopup *popup);
57 ~AssetPopupSort();
59 int handle_event();
61 MWindow *mwindow;
62 AssetPopup *popup;
65 class AssetPopupBuildIndex : public BC_MenuItem
67 public:
68 AssetPopupBuildIndex(MWindow *mwindow, AssetPopup *popup);
69 ~AssetPopupBuildIndex();
71 int handle_event();
73 MWindow *mwindow;
74 AssetPopup *popup;
78 class AssetPopupView : public BC_MenuItem
80 public:
81 AssetPopupView(MWindow *mwindow, AssetPopup *popup);
82 ~AssetPopupView();
84 int handle_event();
86 MWindow *mwindow;
87 AssetPopup *popup;
90 class AssetPopupPaste : public BC_MenuItem
92 public:
93 AssetPopupPaste(MWindow *mwindow, AssetPopup *popup);
94 ~AssetPopupPaste();
96 int handle_event();
98 MWindow *mwindow;
99 AssetPopup *popup;
102 class AssetMatchSize : public BC_MenuItem
104 public:
105 AssetMatchSize(MWindow *mwindow, AssetPopup *popup);
107 int handle_event();
109 MWindow *mwindow;
110 AssetPopup *popup;
113 class AssetMatchRate : public BC_MenuItem
115 public:
116 AssetMatchRate(MWindow *mwindow, AssetPopup *popup);
118 int handle_event();
120 MWindow *mwindow;
121 AssetPopup *popup;
124 class AssetPopupProjectRemove : public BC_MenuItem
126 public:
127 AssetPopupProjectRemove(MWindow *mwindow, AssetPopup *popup);
128 ~AssetPopupProjectRemove();
130 int handle_event();
132 MWindow *mwindow;
133 AssetPopup *popup;
136 class AssetPopupDiskRemove : public BC_MenuItem
138 public:
139 AssetPopupDiskRemove(MWindow *mwindow, AssetPopup *popup);
140 ~AssetPopupDiskRemove();
142 int handle_event();
144 MWindow *mwindow;
145 AssetPopup *popup;
149 #endif