1 /*****************************************************************************
2 * sfilter.h: MacOS X Subpicture filters dialogue
3 *****************************************************************************
4 * Copyright (C) 2005-2006 the VideoLAN team
7 * Authors: Felix Kühne <fkuehne@users.sf.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #import <Cocoa/Cocoa.h>
27 @interface VLCsFilters : NSObject
30 IBOutlet id o_sfilter_tabView;
31 IBOutlet id o_sfilter_win;
32 IBOutlet id o_sfilter_saveSettings_ckb;
35 IBOutlet id o_logo_enabled_ckb;
36 IBOutlet id o_logo_image_btn;
37 IBOutlet id o_logo_image_fld;
38 IBOutlet id o_logo_image_lbl;
39 IBOutlet id o_logo_opaque_lbl;
40 IBOutlet id o_logo_opaque_sld;
41 IBOutlet id o_logo_pos_lbl;
42 IBOutlet id o_logo_pos_radio;
45 IBOutlet id o_marq_enabled_ckb;
46 IBOutlet id o_marq_color_lbl;
47 IBOutlet id o_marq_color_pop;
48 IBOutlet id o_marq_marq_fld;
49 IBOutlet id o_marq_marq_lbl;
50 IBOutlet id o_marq_opaque_lbl;
51 IBOutlet id o_marq_opaque_sld;
52 IBOutlet id o_marq_pos_lbl;
53 IBOutlet id o_marq_pos_radio;
54 IBOutlet id o_marq_size_inPx_lbl;
55 IBOutlet id o_marq_size_lbl;
56 IBOutlet id o_marq_size_pop;
57 IBOutlet id o_marq_tmOut_fld;
58 IBOutlet id o_marq_tmOut_lbl;
59 IBOutlet id o_marq_tmOut_ms_lbl;
62 IBOutlet id o_time_enabled_ckb;
63 IBOutlet id o_time_color_lbl;
64 IBOutlet id o_time_color_pop;
65 IBOutlet id o_time_opaque_lbl;
66 IBOutlet id o_time_opaque_sld;
67 IBOutlet id o_time_pos_lbl;
68 IBOutlet id o_time_pos_radio;
69 IBOutlet id o_time_size_inPx_lbl;
70 IBOutlet id o_time_size_lbl;
71 IBOutlet id o_time_size_pop;
72 IBOutlet id o_time_stamp_fld;
73 IBOutlet id o_time_stamp_lbl;
75 BOOL o_config_changed;
81 + (VLCsFilters *)sharedInstance;
82 - (IBAction)logo_selectFile:(id)sender;
83 - (IBAction)propertyChanged:(id)sender;
84 - (IBAction)enableFilter:(id)sender;
88 - (void)changeFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;