5 #include "loadmode.inc"
6 #include "mainmenu.inc"
13 class Load
: public BC_MenuItem
16 Load(MWindow
*mwindow
, MainMenu
*mainmenu
);
24 LoadFileThread
*thread
;
27 class LoadFileThread
: public Thread
30 LoadFileThread(MWindow
*mwindow
, Load
*menuitem
);
42 class AppendNewTracks
;
48 class LoadFileWindow
: public BC_FileBox
51 LoadFileWindow(MWindow
*mwindow
,
52 LoadFileThread
*thread
,
53 char *init_directory
);
57 int resize_event(int w
, int h
);
59 LoadFileThread
*thread
;
62 NewTimeline
*newtimeline
;
63 NewConcatenate
*newconcatenate
;
64 AppendNewTracks
*newtracks
;
65 EndofTracks
*concatenate
;
66 ResourcesOnly
*resourcesonly
;
69 class NewTimeline
: public BC_Radial
72 NewTimeline(int x
, int y
, LoadFileWindow
*window
);
74 LoadFileWindow
*window
;
77 class NewConcatenate
: public BC_Radial
80 NewConcatenate(int x
, int y
, LoadFileWindow
*window
);
82 LoadFileWindow
*window
;
85 class AppendNewTracks
: public BC_Radial
88 AppendNewTracks(int x
, int y
, LoadFileWindow
*window
);
90 LoadFileWindow
*window
;
93 class EndofTracks
: public BC_Radial
96 EndofTracks(int x
, int y
, LoadFileWindow
*window
);
98 LoadFileWindow
*window
;
101 class ResourcesOnly
: public BC_Radial
104 ResourcesOnly(int x
, int y
, LoadFileWindow
*window
);
106 LoadFileWindow
*window
;
111 class LocateFileWindow
: public BC_FileBox
114 LocateFileWindow(MWindow
*mwindow
, char *init_directory
, char *old_filename
);
119 class LoadPrevious
: public BC_MenuItem
, public Thread
122 LoadPrevious(MWindow
*mwindow
);
126 int set_path(char *path
);
133 class LoadBackup
: public BC_MenuItem
136 LoadBackup(MWindow
*mwindow
);
141 class ReelWindow
: public BC_Window
144 ReelWindow(MWindow
*mwindow
);
147 int create_objects();
148 int resize_event(int w
, int h
);
150 BC_OKButton
*ok_button
;
151 BC_CancelButton
*cancel_button
;
152 BC_Title
*reel_name_title
, *reel_number_title
;
153 BC_TextBox
*reel_name
, *reel_number
;
154 OverwriteReel
*checkbox
;
161 class OverwriteReel
: public BC_CheckBox
164 OverwriteReel(ReelWindow
*lwindow
,
165 int x
, int y
, int value
);