license header for review
[cinelerra_cv/ct.git] / cinelerra / recordtransport.h
blob2b62a5a1b0faeea25e95981c78379dae0dc8c5d9
1 #ifndef RECORDTRANSPORT_H
2 #define RECORDTRANSPORT_H
4 #include "guicast.h"
5 #include "record.inc"
7 class RecordGUIEnd;
8 class RecordGUIBack;
9 class RecordGUIFwd;
10 class RecordGUIPlay;
11 class RecordGUIRec;
12 class RecordGUIStop;
13 class RecordGUIRewind;
14 class RecordGUIRecFrame;
16 class RecordTransport
18 public:
19 RecordTransport(MWindow *mwindow,
20 Record *record,
21 BC_WindowBase *window,
22 int x,
23 int y);
24 ~RecordTransport();
26 int create_objects();
27 void reposition_window(int x, int y);
28 int keypress_event();
29 int get_h();
30 int get_w();
32 MWindow *mwindow;
33 BC_WindowBase *window;
34 Record *record;
35 int x, y;
46 // RecordGUIDuplex *duplex_button;
47 RecordGUIEnd *end_button;
48 RecordGUIFwd *fwd_button;
49 RecordGUIBack *back_button;
50 RecordGUIRewind *rewind_button;
51 RecordGUIStop *stop_button;
52 RecordGUIPlay *play_button;
53 RecordGUIRec *record_button;
54 RecordGUIRecFrame *record_frame;
55 int x_end;
60 class RecordGUIRec : public BC_Button
62 public:
63 RecordGUIRec(MWindow *mwindow, Record *record, int x, int y);
64 ~RecordGUIRec();
66 int handle_event();
67 int keypress_event();
68 MWindow *mwindow;
69 Record *record;
72 class RecordGUIRecFrame : public BC_Button
74 public:
75 RecordGUIRecFrame(MWindow *mwindow, Record *record, int x, int y);
76 ~RecordGUIRecFrame();
78 int handle_event();
79 int keypress_event();
80 Record *record;
83 class RecordGUIPlay : public BC_Button
85 public:
86 RecordGUIPlay(MWindow *mwindow, int x, int y);
87 ~RecordGUIPlay();
89 int handle_event();
90 int keypress_event();
91 RecordEngine *engine;
94 class RecordGUIStop : public BC_Button
96 public:
97 RecordGUIStop(MWindow *mwindow, Record *record, int x, int y);
98 ~RecordGUIStop();
100 int handle_event();
101 int keypress_event();
102 Record *record;
105 class RecordGUIRewind : public BC_Button
107 public:
108 RecordGUIRewind(MWindow *mwindow, Record *record, int x, int y);
109 ~RecordGUIRewind();
111 int handle_event();
112 int keypress_event();
113 RecordEngine *engine;
114 Record *record;
117 class RecordGUIBack : public BC_Button
119 public:
120 RecordGUIBack(MWindow *mwindow, Record *record, int x, int y);
121 ~RecordGUIBack();
123 int handle_event();
124 int button_press();
125 int button_release();
126 int repeat_event();
127 int keypress_event();
128 long count;
129 long repeat_id;
131 RecordEngine *engine;
132 Record *record;
135 class RecordGUIFwd : public BC_Button
137 public:
138 RecordGUIFwd(MWindow *mwindow, Record *record, int x, int y);
139 ~RecordGUIFwd();
141 int handle_event();
142 int button_press();
143 int button_release();
144 int repeat_event();
145 int keypress_event();
147 long count;
148 long repeat_id;
149 RecordEngine *engine;
150 Record *record;
153 class RecordGUIEnd : public BC_Button
155 public:
156 RecordGUIEnd(MWindow *mwindow, Record *record, int x, int y);
157 ~RecordGUIEnd();
159 int handle_event();
160 int keypress_event();
161 RecordEngine *engine;
162 Record *record;
166 * class RecordGUIDuplex : public BC_Button
168 * public:
169 * RecordGUIDuplex(MWindow *mwindow, int x, int y);
170 * ~RecordGUIDuplex();
172 * int handle_event();
173 * RecordEngine *engine;
174 * };
177 #endif
179 // Local Variables:
180 // mode: C++
181 // c-file-style: "linux"
182 // End: