license header for review
[cinelerra_cv/ct.git] / cinelerra / labeledit.h
blob2f3513a0bf8fc82ae224d598ffcc3fe6d2bcd284
1 #ifndef LABELEDIT_H
2 #define LABELEDIT_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 LabelEdit : public Thread
14 public:
15 LabelEdit(MWindow *mwindow, AWindow *awindow, VWindow *vwindow);
16 ~LabelEdit();
18 void run();
19 void edit_label(Label *label);
21 // If it is being created or edited
22 MWindow *mwindow;
23 AWindow *awindow;
24 VWindow *vwindow;
26 Label *label;
32 class LabelEditWindow : public BC_Window
34 public:
35 LabelEditWindow(MWindow *mwindow, LabelEdit *thread);
36 ~LabelEditWindow();
38 void create_objects();
41 // Use this copy of the pointer in LabelEdit since multiple windows are possible
42 Label *label;
43 MWindow *mwindow;
44 LabelEdit *thread;
49 class LabelEditTitle : public BC_TextBox
51 public:
52 LabelEditTitle(LabelEditWindow *window, int x, int y, int w);
53 int handle_event();
54 LabelEditWindow *window;
58 class LabelEditComments : public BC_TextBox
60 public:
61 LabelEditComments(LabelEditWindow *window, int x, int y, int w, int rows);
62 int handle_event();
63 LabelEditWindow *window;
71 #endif
73 // Local Variables:
74 // mode: C++
75 // c-file-style: "linux"
76 // End: