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
,
36 // creation - set if this is the first initialize of the object
37 // to prevent file format from being overwritten
38 int initialize(int creation
= 0);
42 PreferencesWindow
*pwindow
;
43 PreferencesDialog
*dialog
;
44 VideoOutConfig
*out_config
;
45 VideoInConfig
*in_config
;
46 PrefsChannelPicker
*channel_picker
;
49 int create_lml_objs();
50 int create_firewire_objs();
51 int create_dv1394_objs();
52 int create_v4l_objs();
53 int create_v4l2_objs();
54 int create_v4l2jpeg_objs();
55 int create_screencap_objs();
56 int create_buz_objs();
57 int create_x11_objs();
61 BC_Title
*device_title
, *port_title
, *channel_title
, *output_title
, *syt_title
;
62 VDeviceTextBox
*device_text
;
63 VDeviceIntBox
*firewire_port
;
64 VDeviceIntBox
*firewire_channel
;
65 VDeviceIntBox
*firewire_channels
;
66 VDeviceIntBox
*firewire_syt
;
67 VDeviceTextBox
*firewire_path
;
69 VDeviceCheckBox
*buz_swap_channels
;
75 class VDeviceTextBox
: public BC_TextBox
78 VDeviceTextBox(int x
, int y
, char *output
);
84 class VDeviceIntBox
: public BC_TextBox
87 VDeviceIntBox(int x
, int y
, int *output
);
93 class VDeviceCheckBox
: public BC_CheckBox
96 VDeviceCheckBox(int x
, int y
, int *output
, char *text
);
103 class VDriverMenu
: public BC_PopupMenu
108 VDevicePrefs
*device_prefs
,
113 char* driver_to_string(int driver
);
114 int create_objects();
116 VDevicePrefs
*device_prefs
;
119 char string
[BCTEXTLEN
];
123 class VDriverItem
: public BC_MenuItem
126 VDriverItem(VDriverMenu
*popup
, char *text
, int driver
);