]> git.sesse.net Git - vlc/blob - modules/gui/macosx/sfilters.h
update module LIST file.
[vlc] / modules / gui / macosx / sfilters.h
1 /*****************************************************************************
2  * sfilter.h: MacOS X Subpicture filters dialogue
3  *****************************************************************************
4  * Copyright (C) 2005-2008 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
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 "intf.h"
26 #import <vlc/vlc.h>
27
28 @interface VLCsFilters : NSObject
29 {
30     /* window stuff */
31     IBOutlet id o_sfilter_tabView;
32     IBOutlet id o_sfilter_win;
33     IBOutlet id o_sfilter_saveSettings_ckb;
34
35     /* logo section */
36     IBOutlet id o_logo_enabled_ckb;
37     IBOutlet id o_logo_image_btn;
38     IBOutlet id o_logo_image_fld;
39     IBOutlet id o_logo_image_lbl;
40     IBOutlet id o_logo_opaque_lbl;
41     IBOutlet id o_logo_opaque_sld;
42     IBOutlet id o_logo_pos_lbl;
43     IBOutlet id o_logo_pos_radio;
44
45     /* marquee section */
46     IBOutlet id o_marq_enabled_ckb;
47     IBOutlet id o_marq_color_lbl;
48     IBOutlet id o_marq_color_pop;
49     IBOutlet id o_marq_marq_fld;
50     IBOutlet id o_marq_marq_lbl;
51     IBOutlet id o_marq_opaque_lbl;
52     IBOutlet id o_marq_opaque_sld;
53     IBOutlet id o_marq_pos_lbl;
54     IBOutlet id o_marq_pos_radio;
55     IBOutlet id o_marq_size_inPx_lbl;
56     IBOutlet id o_marq_size_lbl;
57     IBOutlet id o_marq_size_pop;
58     IBOutlet id o_marq_tmOut_fld;
59     IBOutlet id o_marq_tmOut_lbl;
60     IBOutlet id o_marq_tmOut_ms_lbl;
61
62     /* time section */
63     IBOutlet id o_time_enabled_ckb;
64     IBOutlet id o_time_color_lbl;
65     IBOutlet id o_time_color_pop;
66     IBOutlet id o_time_opaque_lbl;
67     IBOutlet id o_time_opaque_sld;
68     IBOutlet id o_time_pos_lbl;
69     IBOutlet id o_time_pos_radio;
70     IBOutlet id o_time_size_inPx_lbl;
71     IBOutlet id o_time_size_lbl;
72     IBOutlet id o_time_size_pop;
73     IBOutlet id o_time_stamp_fld;
74     IBOutlet id o_time_stamp_lbl;
75
76     BOOL o_config_changed;
77     BOOL o_save_settings;
78     NSArray * o_colors;
79 }
80
81
82 + (VLCsFilters *)sharedInstance;
83 - (IBAction)logo_selectFile:(id)sender;
84 - (IBAction)propertyChanged:(id)sender;
85 - (IBAction)enableFilter:(id)sender;
86
87 - (void)showAsPanel;
88 - (void)initStrings;
89 - (void)changeFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;
90 - (void)enableTime;
91 - (void)enableLogo;
92 - (void)enableMarq;
93
94 @end