r602: Fix baver's code... don't insert timecode when show_tc is not set
[cinelerra_cv/mob.git] / cinelerra / recordtransport.h
blobf174b7ad79172fcaa5c90b6187a40363fa6e546b
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();
30 MWindow *mwindow;
31 BC_WindowBase *window;
32 Record *record;
33 int x, y;
44 // RecordGUIDuplex *duplex_button;
45 RecordGUIEnd *end_button;
46 RecordGUIFwd *fwd_button;
47 RecordGUIBack *back_button;
48 RecordGUIRewind *rewind_button;
49 RecordGUIStop *stop_button;
50 RecordGUIPlay *play_button;
51 RecordGUIRec *record_button;
52 RecordGUIRecFrame *record_frame;
53 int x_end;
58 class RecordGUIRec : public BC_Button
60 public:
61 RecordGUIRec(MWindow *mwindow, Record *record, int x, int y);
62 ~RecordGUIRec();
64 int handle_event();
65 int keypress_event();
66 MWindow *mwindow;
67 Record *record;
70 class RecordGUIRecFrame : public BC_Button
72 public:
73 RecordGUIRecFrame(MWindow *mwindow, Record *record, int x, int y);
74 ~RecordGUIRecFrame();
76 int handle_event();
77 int keypress_event();
78 Record *record;
81 class RecordGUIPlay : public BC_Button
83 public:
84 RecordGUIPlay(MWindow *mwindow, int x, int y);
85 ~RecordGUIPlay();
87 int handle_event();
88 int keypress_event();
89 RecordEngine *engine;
92 class RecordGUIStop : public BC_Button
94 public:
95 RecordGUIStop(MWindow *mwindow, Record *record, int x, int y);
96 ~RecordGUIStop();
98 int handle_event();
99 int keypress_event();
100 Record *record;
103 class RecordGUIRewind : public BC_Button
105 public:
106 RecordGUIRewind(MWindow *mwindow, Record *record, int x, int y);
107 ~RecordGUIRewind();
109 int handle_event();
110 int keypress_event();
111 RecordEngine *engine;
112 Record *record;
115 class RecordGUIBack : public BC_Button
117 public:
118 RecordGUIBack(MWindow *mwindow, Record *record, int x, int y);
119 ~RecordGUIBack();
121 int handle_event();
122 int button_press();
123 int button_release();
124 int repeat_event();
125 int keypress_event();
126 long count;
127 long repeat_id;
129 RecordEngine *engine;
130 Record *record;
133 class RecordGUIFwd : public BC_Button
135 public:
136 RecordGUIFwd(MWindow *mwindow, Record *record, int x, int y);
137 ~RecordGUIFwd();
139 int handle_event();
140 int button_press();
141 int button_release();
142 int repeat_event();
143 int keypress_event();
145 long count;
146 long repeat_id;
147 RecordEngine *engine;
148 Record *record;
151 class RecordGUIEnd : public BC_Button
153 public:
154 RecordGUIEnd(MWindow *mwindow, Record *record, int x, int y);
155 ~RecordGUIEnd();
157 int handle_event();
158 int keypress_event();
159 RecordEngine *engine;
160 Record *record;
164 * class RecordGUIDuplex : public BC_Button
166 * public:
167 * RecordGUIDuplex(MWindow *mwindow, int x, int y);
168 * ~RecordGUIDuplex();
170 * int handle_event();
171 * RecordEngine *engine;
172 * };
175 #endif