]> git.sesse.net Git - vlc/blob - modules/gui/macosx/extended.h
* adapted the extended panel to the latest video filter changes and re-designed the...
[vlc] / modules / gui / macosx / extended.h
1 /*****************************************************************************
2  * extended.h: MacOS X Extended interface panel
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 /*****************************************************************************
25  * VLCExtended 
26  *****************************************************************************/
27
28 #import <Cocoa/Cocoa.h>
29 #import <vlc/vlc.h>
30
31 @interface VLCExtended : NSObject
32 {
33     /* views and window */
34     IBOutlet id o_adjustImg_view;
35     IBOutlet id o_audioFlts_view;
36     IBOutlet id o_videoFilters_view;
37     IBOutlet id o_extended_window;
38     
39     /* window content */
40     IBOutlet id o_expBtn_adjustImage;
41     IBOutlet id o_expBtn_audioFlts;
42     IBOutlet id o_expBtn_videoFlts;
43     IBOutlet id o_lbl_audioFlts;
44     IBOutlet id o_lbl_videoFlts;
45     IBOutlet id o_lbl_adjustImage;
46     IBOutlet id o_lbl_video;
47     IBOutlet id o_lbl_audio;
48     IBOutlet id o_extWin_adjImg_sepe;
49     IBOutlet id o_extWin_vidFlts_sepe;
50     IBOutlet id o_box_vidFlts;
51     IBOutlet id o_box_audFlts;
52     IBOutlet id o_box_adjImg;
53     
54     /* video filters */
55     IBOutlet id o_btn_vidFlts_mrInfo;
56     IBOutlet id o_ckb_blur;
57     IBOutlet id o_ckb_imgClone;
58     IBOutlet id o_ckb_imgCrop;
59     IBOutlet id o_ckb_imgInvers;
60     IBOutlet id o_ckb_trnsform;
61     IBOutlet id o_ckb_intZoom;
62     IBOutlet id o_ckb_wave;
63     IBOutlet id o_ckb_ripple;
64     IBOutlet id o_ckb_psycho;
65     IBOutlet id o_ckb_gradient;
66     IBOutlet id o_lbl_general;
67     IBOutlet id o_lbl_distort;
68     
69     /* audio filters */
70     IBOutlet id o_ckb_vlme_norm;
71     IBOutlet id o_ckb_hdphnVirt;
72     IBOutlet id o_lbl_maxLevel;
73     IBOutlet id o_sld_maxLevel;
74     
75     /* adjust image */
76     IBOutlet id o_btn_rstrDefaults;
77     IBOutlet id o_ckb_enblAdjustImg;
78     IBOutlet id o_lbl_brightness;
79     IBOutlet id o_lbl_contrast;
80     IBOutlet id o_lbl_gamma;
81     IBOutlet id o_lbl_hue;
82     IBOutlet id o_lbl_saturation;
83     IBOutlet id o_lbl_opaque;
84     IBOutlet id o_sld_brightness;
85     IBOutlet id o_sld_contrast;
86     IBOutlet id o_sld_gamma;
87     IBOutlet id o_sld_hue;
88     IBOutlet id o_sld_saturation;
89     IBOutlet id o_sld_opaque;
90     
91     /* global variables */
92     BOOL o_adjImg_expanded;
93     BOOL o_audFlts_expanded;
94     BOOL o_vidFlts_expanded;
95     
96     BOOL o_config_changed;
97 }
98
99 - (IBAction)adjImg_Enbl:(id)sender;
100 - (IBAction)adjImg_rstrDefaults:(id)sender;
101 - (IBAction)adjImg_sliders:(id)sender;
102 - (IBAction)adjImg_opaque:(id)sender;
103 - (IBAction)audFtls_hdphnVirt:(id)sender;
104 - (IBAction)audFtls_maxLevelSld:(id)sender;
105 - (IBAction)audFtls_vlmeNorm:(id)sender;
106 - (IBAction)extWin_exp_adjImg:(id)sender;
107 - (IBAction)extWin_exp_audFlts:(id)sender;
108 - (IBAction)extWin_exp_vidFlts:(id)sender;
109 - (IBAction)vidFlts:(id)sender;
110 - (IBAction)vidFlts_mrInfo:(id)sender;
111
112 + (VLCExtended *)sharedInstance;
113 - (BOOL)getConfigChanged;
114 - (void)collapsAll;
115
116 - (void)showPanel;
117 - (void)initStrings;
118 - (void)changeVoutFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;
119 - (void)changeVideoFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;
120 - (void)changeAFiltersString: (char *)psz_name onOrOff: (vlc_bool_t )b_add;
121 - (void)savePrefs;
122 @end