11 #include "adeviceprefs.inc"
12 #include "channelpicker.inc"
14 #include "playbackconfig.inc"
15 #include "preferencesthread.inc"
16 #include "recordconfig.inc"
17 #include "vdeviceprefs.inc"
19 class VDeviceCheckBox
;
22 class VDeviceTumbleBox
;
30 PreferencesWindow
*pwindow
,
31 PreferencesDialog
*dialog
,
32 VideoOutConfig
*out_config
,
33 VideoInConfig
*in_config
,
37 // creation - set if this is the first initialize of the object
38 // to prevent file format from being overwritten
39 int initialize(int creation
= 0);
43 PreferencesWindow
*pwindow
;
44 PreferencesDialog
*dialog
;
45 VideoOutConfig
*out_config
;
46 VideoInConfig
*in_config
;
47 PrefsChannelPicker
*channel_picker
;
50 int create_lml_objs();
51 int create_firewire_objs();
52 int create_dv1394_objs();
53 int create_v4l_objs();
54 int create_v4l2_objs();
55 int create_v4l2jpeg_objs();
56 int create_screencap_objs();
57 int create_buz_objs();
58 int create_x11_objs();
59 int create_dvb_objs();
63 BC_Title
*device_title
;
65 BC_Title
*number_title
;
66 BC_Title
*channel_title
;
67 BC_Title
*output_title
;
69 VDeviceTextBox
*device_text
;
70 VDeviceTumbleBox
*device_port
;
71 VDeviceTumbleBox
*device_number
;
72 VDeviceIntBox
*firewire_port
;
73 VDeviceIntBox
*firewire_channel
;
74 VDeviceIntBox
*firewire_channels
;
75 VDeviceIntBox
*firewire_syt
;
76 VDeviceTextBox
*firewire_path
;
78 VDeviceCheckBox
*buz_swap_channels
;
84 class VDeviceTextBox
: public BC_TextBox
87 VDeviceTextBox(int x
, int y
, char *output
);
93 class VDeviceIntBox
: public BC_TextBox
96 VDeviceIntBox(int x
, int y
, int *output
);
102 class VDeviceTumbleBox
: public BC_TumbleTextBox
105 VDeviceTumbleBox(VDevicePrefs
*prefs
,
116 class VDeviceCheckBox
: public BC_CheckBox
119 VDeviceCheckBox(int x
, int y
, int *output
, char *text
);
126 class VDriverMenu
: public BC_PopupMenu
131 VDevicePrefs
*device_prefs
,
136 char* driver_to_string(int driver
);
137 int create_objects();
139 VDevicePrefs
*device_prefs
;
142 char string
[BCTEXTLEN
];
146 class VDriverItem
: public BC_MenuItem
149 VDriverItem(VDriverMenu
*popup
, char *text
, int driver
);