r602: Fix baver's code... don't insert timecode when show_tc is not set
[cinelerra_cv/mob.git] / cinelerra / recordprefs.h
blob0d31cb064f03e10637acb2b412938cac05e18abd
1 #ifndef RECORDPREFS_H
2 #define RECORDPREFS_H
4 //class DuplexEnable;
5 class RecordMinDB;
6 class RecordVUDB;
7 class RecordVUInt;
8 class RecordWriteLength;
9 class RecordRealTime;
11 #include "adeviceprefs.inc"
12 #include "mwindow.inc"
13 #include "preferencesthread.h"
14 #include "recordprefs.inc"
15 #include "vdeviceprefs.inc"
17 class RecordPrefs : public PreferencesDialog
19 public:
20 RecordPrefs(MWindow *mwindow, PreferencesWindow *pwindow);
21 ~RecordPrefs();
23 int create_objects();
25 ADevicePrefs *in_device /*, *duplex_device */;
26 VDevicePrefs *video_in_device;
27 MWindow *mwindow;
31 class RecordWriteLength : public BC_TextBox
33 public:
34 RecordWriteLength(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, char *text);
35 int handle_event();
36 PreferencesWindow *pwindow;
40 * class DuplexEnable : public BC_CheckBox
41 * {
42 * public:
43 * DuplexEnable(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, int value);
44 * int handle_event();
45 * PreferencesWindow *pwindow;
46 * };
49 class RecordRealTime : public BC_CheckBox
51 public:
52 RecordRealTime(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, int value);
53 int handle_event();
54 PreferencesWindow *pwindow;
58 class RecordSampleRate : public BC_TextBox
60 public:
61 RecordSampleRate(PreferencesWindow *pwindow, int x, int y);
62 int handle_event();
63 PreferencesWindow *pwindow;
67 class RecordSoftwareTimer : public BC_CheckBox
69 public:
70 RecordSoftwareTimer(PreferencesWindow *pwindow, int value, int x, int y);
71 int handle_event();
72 PreferencesWindow *pwindow;
76 class RecordSyncDrives : public BC_CheckBox
78 public:
79 RecordSyncDrives(PreferencesWindow *pwindow, int value, int x, int y);
80 int handle_event();
81 PreferencesWindow *pwindow;
84 class VideoWriteLength : public BC_TextBox
86 public:
87 VideoWriteLength(PreferencesWindow *pwindow, char *text, int y);
88 int handle_event();
89 PreferencesWindow *pwindow;
92 class VideoCaptureLength : public BC_TextBox
94 public:
95 VideoCaptureLength(PreferencesWindow *pwindow, char *text, int y);
96 int handle_event();
97 PreferencesWindow *pwindow;
100 class CaptureLengthTumbler : public BC_Tumbler
102 public:
103 CaptureLengthTumbler(PreferencesWindow *pwindow, BC_TextBox *text, int x, int y);
104 int handle_up_event();
105 int handle_down_event();
106 PreferencesWindow *pwindow;
107 BC_TextBox *text;
110 class RecordW : public BC_TextBox
112 public:
113 RecordW(PreferencesWindow *pwindow, int x, int y);
114 int handle_event();
115 PreferencesWindow *pwindow;
118 class RecordH : public BC_TextBox
120 public:
121 RecordH(PreferencesWindow *pwindow, int x, int y);
122 int handle_event();
123 PreferencesWindow *pwindow;
126 class RecordFrameRate : public BC_TextBox
128 public:
129 RecordFrameRate(PreferencesWindow *pwindow, int x, int y);
130 int handle_event();
131 PreferencesWindow *pwindow;
134 class RecordFrameRateText : public BC_TextBox
136 RecordFrameRateText(PreferencesWindow *pwindow, int x, int y);
137 int handle_event();
138 PreferencesWindow *pwindow;
141 class StillImageUseDuration : public BC_CheckBox
143 public:
144 StillImageUseDuration(PreferencesWindow *pwindow, int value, int x, int y);
145 int handle_event();
146 PreferencesWindow *pwindow;
149 class StillImageDuration : public BC_TextBox
151 public:
152 StillImageDuration(PreferencesWindow *pwindow, int x, int y);
153 int handle_event();
154 PreferencesWindow *pwindow;
157 #endif