]> git.sesse.net Git - vlc/blob - modules/gui/macosx/sfilters.h
Removes trailing spaces. Removes tabs.
[vlc] / modules / gui / macosx / sfilters.h
1 /*****************************************************************************
2  * sfilter.h: MacOS X Subpicture filters dialogue
3  *****************************************************************************
4  * Copyright (C) 2005-2006 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Felix Kühne <fkuehne@users.sf.net>
8  *
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.
13  *
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.
18  *
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  *****************************************************************************/
23
24 #import <Cocoa/Cocoa.h>
25 #import <vlc/vlc.h>
26
27 @interface VLCsFilters : NSObject
28 {
29     /* window stuff */
30     IBOutlet id o_sfilter_tabView;
31     IBOutlet id o_sfilter_win;
32     IBOutlet id o_sfilter_saveSettings_ckb;
33
34     /* logo section */
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;
43  
44     /* marquee section */
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;
60
61     /* time section */
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;
74  
75     BOOL o_config_changed;
76     BOOL o_save_settings;
77     NSArray * o_colors;
78 }
79
80
81 + (VLCsFilters *)sharedInstance;
82 - (IBAction)logo_selectFile:(id)sender;
83 - (IBAction)propertyChanged:(id)sender;
84 - (IBAction)enableFilter:(id)sender;
85
86 - (void)showAsPanel;
87 - (void)initStrings;
88 - (void)changeFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;
89 - (void)enableTime;
90 - (void)enableLogo;
91 - (void)enableMarq;
92
93 @end