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
;
29 PreferencesWindow
*pwindow
,
30 PreferencesDialog
*dialog
,
31 VideoOutConfig
*out_config
,
32 VideoInConfig
*in_config
,
39 PreferencesWindow
*pwindow
;
40 PreferencesDialog
*dialog
;
41 VideoOutConfig
*out_config
;
42 VideoInConfig
*in_config
;
43 PrefsChannelPicker
*channel_picker
;
46 int create_lml_objs();
47 int create_firewire_objs();
48 int create_v4l_objs();
49 int create_screencap_objs();
50 int create_buz_objs();
51 int create_x11_objs();
54 BC_Title
*device_title
, *port_title
, *channel_title
, *output_title
, *syt_title
;
55 VDeviceTextBox
*device_text
;
56 VDeviceIntBox
*firewire_port
;
57 VDeviceIntBox
*firewire_channel
;
58 VDeviceIntBox
*firewire_channels
;
59 VDeviceIntBox
*firewire_syt
;
60 VDeviceTextBox
*firewire_path
;
61 VDeviceCheckBox
*firewire_use_dv1394
;
62 VDeviceCheckBox
*buz_swap_channels
;
68 class VDeviceTextBox
: public BC_TextBox
71 VDeviceTextBox(int x
, int y
, char *output
);
77 class VDeviceIntBox
: public BC_TextBox
80 VDeviceIntBox(int x
, int y
, int *output
);
86 class VDeviceCheckBox
: public BC_CheckBox
89 VDeviceCheckBox(int x
, int y
, int *output
, char *text
);
96 class VDriverMenu
: public BC_PopupMenu
101 VDevicePrefs
*device_prefs
,
106 char* driver_to_string(int driver
);
107 int create_objects();
109 VDevicePrefs
*device_prefs
;
112 char string
[BCTEXTLEN
];
116 class VDriverItem
: public BC_MenuItem
119 VDriverItem(VDriverMenu
*popup
, char *text
, int driver
);