Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / cinelerra / clipedit.h
blob2ad8088a09c8dab71e863d874a5cc4b84371e996
1 #ifndef CLIPEDIT_H
2 #define CLIPEDIT_H
4 #include "awindow.inc"
5 #include "edl.inc"
6 #include "guicast.h"
7 #include "mwindow.inc"
8 #include "thread.h"
9 #include "vwindow.inc"
12 class ClipEdit : public Thread
14 public:
15 ClipEdit(MWindow *mwindow, AWindow *awindow, VWindow *vwindow);
16 ~ClipEdit();
18 void run();
19 void edit_clip(EDL *clip);
20 void create_clip(EDL *clip);
22 // If it is being created or edited
23 MWindow *mwindow;
24 AWindow *awindow;
25 VWindow *vwindow;
28 EDL *clip;
29 int create_it;
35 class ClipEditWindow : public BC_Window
37 public:
38 ClipEditWindow(MWindow *mwindow, ClipEdit *thread);
39 ~ClipEditWindow();
41 void create_objects();
44 // Use this copy of the pointer in ClipEdit since multiple windows are possible
45 EDL *clip;
46 int create_it;
47 MWindow *mwindow;
48 ClipEdit *thread;
49 BC_TextBox *titlebox;
54 class ClipEditTitle : public BC_TextBox
56 public:
57 ClipEditTitle(ClipEditWindow *window, int x, int y, int w);
58 int handle_event();
59 ClipEditWindow *window;
63 class ClipEditComments : public BC_TextBox
65 public:
66 ClipEditComments(ClipEditWindow *window, int x, int y, int w, int rows);
67 int handle_event();
68 ClipEditWindow *window;
76 #endif