X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fmainmenu.h;h=b87e8088833b2b1e1f16586366d48d08ed3b7b26;hb=defa5b8f1edfa52d5b2cbf94e89ae2482cdb67d5;hp=2796e15571c84bd0f60de3985fd32f9ed9fafb41;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mainmenu.h b/cinelerra-5.1/cinelerra/mainmenu.h index 2796e155..b87e8088 100644 --- a/cinelerra-5.1/cinelerra/mainmenu.h +++ b/cinelerra-5.1/cinelerra/mainmenu.h @@ -44,6 +44,8 @@ class KeyframeCurveTypeItem; class SplitX; class SplitY; class MixerViewer; +class LoadLayoutItem; +class LoadLayout; #include "arraylist.h" @@ -67,6 +69,9 @@ class MixerViewer; #define TOTAL_LOADS 10 // number of files to cache #define TOTAL_EFFECTS 10 // number of effects to cache +#define LAYOUT_LOAD 0 +#define LAYOUT_SAVE 1 + class MainMenu : public BC_MenuBar { public: @@ -148,6 +153,8 @@ public: SplitX *split_x; SplitY *split_y; MixerViewer *mixer_viewer; + LoadLayout *load_layout; + LoadLayout *save_layout; }; // ========================================= edit @@ -705,4 +712,25 @@ public: MWindow *mwindow; }; + +class LoadLayoutItem : public BC_MenuItem +{ +public: + LoadLayoutItem(LoadLayout *load_layout, const char *text, int no, int hotkey); + int handle_event(); + + int no; + LoadLayout *load_layout; +}; + +class LoadLayout : public BC_MenuItem +{ +public: + LoadLayout(MWindow *mwindow, const char *text, int action); + void create_objects(); + + MWindow *mwindow; + int action; +}; + #endif