class SplitX;
class SplitY;
class MixerViewer;
+class LoadLayoutItem;
+class LoadLayout;
#include "arraylist.h"
#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:
SplitX *split_x;
SplitY *split_y;
MixerViewer *mixer_viewer;
+ LoadLayout *load_layout;
+ LoadLayout *save_layout;
};
// ========================================= edit
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