Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / recordprefs.h
blobd780f0582d09644610f92426fe5822204341a22c
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;
10 class RecordChannels;
12 #include "adeviceprefs.inc"
13 #include "formattools.inc"
14 #include "mwindow.inc"
15 #include "preferencesthread.h"
16 #include "recordprefs.inc"
17 #include "vdeviceprefs.inc"
19 class RecordPrefs : public PreferencesDialog
21 public:
22 RecordPrefs(MWindow *mwindow, PreferencesWindow *pwindow);
23 ~RecordPrefs();
25 int create_objects();
27 FormatTools *recording_format;
28 ADevicePrefs *audio_in_device;
29 VDevicePrefs *video_in_device;
30 MWindow *mwindow;
34 class RecordWriteLength : public BC_TextBox
36 public:
37 RecordWriteLength(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, char *text);
38 int handle_event();
39 PreferencesWindow *pwindow;
43 * class DuplexEnable : public BC_CheckBox
44 * {
45 * public:
46 * DuplexEnable(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, int value);
47 * int handle_event();
48 * PreferencesWindow *pwindow;
49 * };
52 class RecordRealTime : public BC_CheckBox
54 public:
55 RecordRealTime(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, int value);
56 int handle_event();
57 PreferencesWindow *pwindow;
61 class RecordSampleRate : public BC_TextBox
63 public:
64 RecordSampleRate(PreferencesWindow *pwindow, int x, int y);
65 int handle_event();
66 PreferencesWindow *pwindow;
70 class RecordSoftwareTimer : public BC_CheckBox
72 public:
73 RecordSoftwareTimer(PreferencesWindow *pwindow, int value, int x, int y);
74 int handle_event();
75 PreferencesWindow *pwindow;
79 class RecordSyncDrives : public BC_CheckBox
81 public:
82 RecordSyncDrives(PreferencesWindow *pwindow, int value, int x, int y);
83 int handle_event();
84 PreferencesWindow *pwindow;
87 class VideoWriteLength : public BC_TextBox
89 public:
90 VideoWriteLength(PreferencesWindow *pwindow, char *text, int y);
91 int handle_event();
92 PreferencesWindow *pwindow;
95 class VideoCaptureLength : public BC_TextBox
97 public:
98 VideoCaptureLength(PreferencesWindow *pwindow, char *text, int y);
99 int handle_event();
100 PreferencesWindow *pwindow;
103 class CaptureLengthTumbler : public BC_Tumbler
105 public:
106 CaptureLengthTumbler(PreferencesWindow *pwindow, BC_TextBox *text, int x, int y);
107 int handle_up_event();
108 int handle_down_event();
109 PreferencesWindow *pwindow;
110 BC_TextBox *text;
113 class RecordW : public BC_TextBox
115 public:
116 RecordW(PreferencesWindow *pwindow, int x, int y);
117 int handle_event();
118 PreferencesWindow *pwindow;
121 class RecordH : public BC_TextBox
123 public:
124 RecordH(PreferencesWindow *pwindow, int x, int y);
125 int handle_event();
126 PreferencesWindow *pwindow;
129 class RecordFrameRate : public BC_TextBox
131 public:
132 RecordFrameRate(PreferencesWindow *pwindow, int x, int y);
133 int handle_event();
134 PreferencesWindow *pwindow;
137 class RecordFrameRateText : public BC_TextBox
139 RecordFrameRateText(PreferencesWindow *pwindow, int x, int y);
140 int handle_event();
141 PreferencesWindow *pwindow;
144 class RecordChannels : public BC_TumbleTextBox
146 public:
147 RecordChannels(PreferencesWindow *pwindow,
148 BC_SubWindow *gui,
149 int x,
150 int y);
151 int handle_event();
152 PreferencesWindow *pwindow;
155 class StillImageUseDuration : public BC_CheckBox
157 public:
158 StillImageUseDuration(PreferencesWindow *pwindow, int value, int x, int y);
159 int handle_event();
160 PreferencesWindow *pwindow;
163 class StillImageDuration : public BC_TextBox
165 public:
166 StillImageDuration(PreferencesWindow *pwindow, int x, int y);
167 int handle_event();
168 PreferencesWindow *pwindow;
171 #endif
173 // Local Variables:
174 // mode: C++
175 // c-file-style: "linux"
176 // End: