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