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
,
40 PreferencesWindow
*pwindow
;
41 PreferencesDialog
*dialog
;
42 VideoOutConfig
*out_config
;
43 VideoInConfig
*in_config
;
44 PrefsChannelPicker
*channel_picker
;
47 int create_lml_objs();
48 int create_firewire_objs();
49 int create_dv1394_objs();
50 int create_v4l_objs();
51 int create_v4l2_objs();
52 int create_v4l2jpeg_objs();
53 int create_screencap_objs();
54 int create_buz_objs();
55 int create_x11_objs();
59 BC_Title
*device_title
, *port_title
, *channel_title
, *output_title
, *syt_title
;
60 VDeviceTextBox
*device_text
;
61 VDeviceIntBox
*firewire_port
;
62 VDeviceIntBox
*firewire_channel
;
63 VDeviceIntBox
*firewire_channels
;
64 VDeviceIntBox
*firewire_syt
;
65 VDeviceTextBox
*firewire_path
;
67 VDeviceCheckBox
*buz_swap_channels
;
73 class VDeviceTextBox
: public BC_TextBox
76 VDeviceTextBox(int x
, int y
, char *output
);
82 class VDeviceIntBox
: public BC_TextBox
85 VDeviceIntBox(int x
, int y
, int *output
);
91 class VDeviceCheckBox
: public BC_CheckBox
94 VDeviceCheckBox(int x
, int y
, int *output
, char *text
);
101 class VDriverMenu
: public BC_PopupMenu
106 VDevicePrefs
*device_prefs
,
111 char* driver_to_string(int driver
);
112 int create_objects();
114 VDevicePrefs
*device_prefs
;
117 char string
[BCTEXTLEN
];
121 class VDriverItem
: public BC_MenuItem
124 VDriverItem(VDriverMenu
*popup
, char *text
, int driver
);