00001 #ifndef RECORDPREFS_H
00002 #define RECORDPREFS_H
00003
00004
00005 class RecordMinDB;
00006 class RecordVUDB;
00007 class RecordVUInt;
00008 class RecordWriteLength;
00009 class RecordRealTime;
00010 class RecordChannels;
00011
00012 #include "adeviceprefs.inc"
00013 #include "formattools.inc"
00014 #include "mwindow.inc"
00015 #include "preferencesthread.h"
00016 #include "recordprefs.inc"
00017 #include "vdeviceprefs.inc"
00018
00019 class RecordPrefs : public PreferencesDialog
00020 {
00021 public:
00022 RecordPrefs(MWindow *mwindow, PreferencesWindow *pwindow);
00023 ~RecordPrefs();
00024
00025 int create_objects();
00026
00027 FormatTools *recording_format;
00028 ADevicePrefs *audio_in_device;
00029 VDevicePrefs *video_in_device;
00030 MWindow *mwindow;
00031 };
00032
00033
00034 class RecordWriteLength : public BC_TextBox
00035 {
00036 public:
00037 RecordWriteLength(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, char *text);
00038 int handle_event();
00039 PreferencesWindow *pwindow;
00040 };
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 class RecordRealTime : public BC_CheckBox
00053 {
00054 public:
00055 RecordRealTime(MWindow *mwindow, PreferencesWindow *pwindow, int x, int y, int value);
00056 int handle_event();
00057 PreferencesWindow *pwindow;
00058 };
00059
00060
00061 class RecordSampleRate : public BC_TextBox
00062 {
00063 public:
00064 RecordSampleRate(PreferencesWindow *pwindow, int x, int y);
00065 int handle_event();
00066 PreferencesWindow *pwindow;
00067 };
00068
00069
00070 class RecordSoftwareTimer : public BC_CheckBox
00071 {
00072 public:
00073 RecordSoftwareTimer(PreferencesWindow *pwindow, int value, int x, int y);
00074 int handle_event();
00075 PreferencesWindow *pwindow;
00076 };
00077
00078
00079 class RecordSyncDrives : public BC_CheckBox
00080 {
00081 public:
00082 RecordSyncDrives(PreferencesWindow *pwindow, int value, int x, int y);
00083 int handle_event();
00084 PreferencesWindow *pwindow;
00085 };
00086
00087 class VideoWriteLength : public BC_TextBox
00088 {
00089 public:
00090 VideoWriteLength(PreferencesWindow *pwindow, char *text, int y);
00091 int handle_event();
00092 PreferencesWindow *pwindow;
00093 };
00094
00095 class VideoCaptureLength : public BC_TextBox
00096 {
00097 public:
00098 VideoCaptureLength(PreferencesWindow *pwindow, char *text, int y);
00099 int handle_event();
00100 PreferencesWindow *pwindow;
00101 };
00102
00103 class CaptureLengthTumbler : public BC_Tumbler
00104 {
00105 public:
00106 CaptureLengthTumbler(PreferencesWindow *pwindow, BC_TextBox *text, int x, int y);
00107 int handle_up_event();
00108 int handle_down_event();
00109 PreferencesWindow *pwindow;
00110 BC_TextBox *text;
00111 };
00112
00113 class RecordW : public BC_TextBox
00114 {
00115 public:
00116 RecordW(PreferencesWindow *pwindow, int x, int y);
00117 int handle_event();
00118 PreferencesWindow *pwindow;
00119 };
00120
00121 class RecordH : public BC_TextBox
00122 {
00123 public:
00124 RecordH(PreferencesWindow *pwindow, int x, int y);
00125 int handle_event();
00126 PreferencesWindow *pwindow;
00127 };
00128
00129 class RecordFrameRate : public BC_TextBox
00130 {
00131 public:
00132 RecordFrameRate(PreferencesWindow *pwindow, int x, int y);
00133 int handle_event();
00134 PreferencesWindow *pwindow;
00135 };
00136
00137 class RecordFrameRateText : public BC_TextBox
00138 {
00139 RecordFrameRateText(PreferencesWindow *pwindow, int x, int y);
00140 int handle_event();
00141 PreferencesWindow *pwindow;
00142 };
00143
00144 class RecordChannels : public BC_TumbleTextBox
00145 {
00146 public:
00147 RecordChannels(PreferencesWindow *pwindow,
00148 BC_SubWindow *gui,
00149 int x,
00150 int y);
00151 int handle_event();
00152 PreferencesWindow *pwindow;
00153 };
00154
00155 class StillImageUseDuration : public BC_CheckBox
00156 {
00157 public:
00158 StillImageUseDuration(PreferencesWindow *pwindow, int value, int x, int y);
00159 int handle_event();
00160 PreferencesWindow *pwindow;
00161 };
00162
00163 class StillImageDuration : public BC_TextBox
00164 {
00165 public:
00166 StillImageDuration(PreferencesWindow *pwindow, int x, int y);
00167 int handle_event();
00168 PreferencesWindow *pwindow;
00169 };
00170
00171 #endif