X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fassetpopup.h;fp=cinelerra-5.1%2Fcinelerra%2Fassetpopup.h;h=e0611ecf8ba81d9c5d46b6a7d07388daec49f9c5;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=8bb458f9d0eace276297689713d2838319ee8760;hpb=fee54016102a7a59d2181c8f16a7f2562f68540d;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/assetpopup.h b/cinelerra-5.1/cinelerra/assetpopup.h index 8bb458f9..e0611ecf 100644 --- a/cinelerra-5.1/cinelerra/assetpopup.h +++ b/cinelerra-5.1/cinelerra/assetpopup.h @@ -22,14 +22,9 @@ #ifndef ASSETPOPUP_H #define ASSETPOPUP_H -class AssetPopupInfo; -class AssetPopupBuildIndex; -class AssetPopupView; -class AssetPopupViewWindow; - #include "assetedit.inc" +#include "assetpopup.inc" #include "awindowgui.inc" -#include "awindowmenu.inc" #include "edl.inc" #include "guicast.h" #include "assets.inc" @@ -59,7 +54,7 @@ public: AssetPopupBuildIndex *index; AssetPopupView *view; AssetPopupViewWindow *view_window; - AssetListFormat *format; + AWindowListFormat *format; }; class AssetPopupInfo : public BC_MenuItem @@ -194,5 +189,96 @@ public: AssetPopup *popup; }; +class AssetListMenu : public BC_PopupMenu +{ +public: + AssetListMenu(MWindow *mwindow, AWindowGUI *gui); + ~AssetListMenu(); + + void create_objects(); + void update_titles(); + + MWindow *mwindow; + AWindowGUI *gui; + AWindowListFormat *format; +}; + +class AssetListCopy : public BC_MenuItem +{ +public: + AssetListCopy(MWindow *mwindow); + ~AssetListCopy(); + + int handle_event(); + + MWindow *mwindow; + AssetCopyDialog *copy_dialog; +}; + +class AssetCopyDialog : public BC_DialogThread +{ +public: + AssetCopyDialog(AssetListCopy *copy); + ~AssetCopyDialog(); + + void start(char *text); + BC_Window* new_gui(); + void handle_done_event(int result); + void handle_close_event(int result); + + char *text; + AssetListCopy *copy; + AssetCopyWindow *copy_window; +}; + +class AssetCopyWindow : public BC_Window +{ +public: + AssetCopyWindow(AssetCopyDialog *copy_dialog, int x, int y); + ~AssetCopyWindow(); + + void create_objects(); + + AssetCopyDialog *copy_dialog; + BC_ScrollTextBox *file_list; +}; + +class AssetListPaste : public BC_MenuItem +{ +public: + AssetListPaste(MWindow *mwindow); + ~AssetListPaste(); + + int handle_event(); + + MWindow *mwindow; + AssetPasteDialog *paste_dialog; +}; + +class AssetPasteDialog : public BC_DialogThread +{ +public: + AssetPasteDialog(AssetListPaste *paste); + ~AssetPasteDialog(); + + BC_Window* new_gui(); + void handle_done_event(int result); + void handle_close_event(int result); + + AssetListPaste *paste; + AssetPasteWindow *paste_window; +}; + +class AssetPasteWindow : public BC_Window +{ +public: + AssetPasteWindow(AssetPasteDialog *paste_dialog, int x, int y); + ~AssetPasteWindow(); + + void create_objects(); + + AssetPasteDialog *paste_dialog; + BC_ScrollTextBox *file_list; +}; #endif