]> git.sesse.net Git - vlc/blob - modules/gui/macosx/extended.h
* added video filters and i18n support -- still ToDo: loaded the settings from the...
[vlc] / modules / gui / macosx / extended.h
1 /*****************************************************************************
2  * extended.h: MacOS X Extended interface panel
3  *****************************************************************************
4  * Copyright (C) 2005 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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * VLCExtended 
26  *****************************************************************************/
27
28 #import <Cocoa/Cocoa.h>
29
30 @interface VLCExtended : NSObject
31 {
32     /* views and window */
33     IBOutlet id o_adjustImg_view;
34     IBOutlet id o_audioFlts_view;
35     IBOutlet id o_videoFilters_view;
36     IBOutlet id o_extended_window;
37     
38     /* window content */
39     IBOutlet id o_expBtn_adjustImage;
40     IBOutlet id o_expBtn_audioFlts;
41     IBOutlet id o_expBtn_videoFlts;
42     IBOutlet id o_lbl_audioFlts;
43     IBOutlet id o_lbl_videoFlts;
44     IBOutlet id o_lbl_adjustImage;
45     IBOutlet id o_lbl_video;
46     IBOutlet id o_lbl_audio;
47     IBOutlet id o_extWin_adjImg_sepe;
48     IBOutlet id o_extWin_vidFlts_sepe;
49     IBOutlet id o_box_vidFlts;
50     IBOutlet id o_box_audFlts;
51     IBOutlet id o_box_adjImg;
52     
53     /* video filters */
54     IBOutlet id o_btn_vidFlts_mrInfo;
55     IBOutlet id o_ckb_blur;
56     IBOutlet id o_ckb_distortion;
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     
62     /* audio filters */
63     IBOutlet id o_ckb_vlme_norm;
64     IBOutlet id o_ckb_hdphnVirt;
65     IBOutlet id o_lbl_maxLevel;
66     IBOutlet id o_sld_maxLevel;
67     
68     /* adjust image */
69     IBOutlet id o_btn_rstrDefaults;
70     IBOutlet id o_ckb_enblAdjustImg;
71     IBOutlet id o_lbl_brightness;
72     IBOutlet id o_lbl_contrast;
73     IBOutlet id o_lbl_gamma;
74     IBOutlet id o_lbl_hue;
75     IBOutlet id o_lbl_saturation;
76     IBOutlet id o_sld_brightness;
77     IBOutlet id o_sld_contrast;
78     IBOutlet id o_sld_gamma;
79     IBOutlet id o_sld_hue;
80     IBOutlet id o_sld_saturation;
81     
82     /* global variables */
83     BOOL * o_adjImg_expanded;
84     BOOL * o_audFlts_expanded;
85     BOOL * o_vidFlts_expanded;
86 }
87
88 - (IBAction)adjImg_Enbl:(id)sender;
89 - (IBAction)adjImg_rstrDefaults:(id)sender;
90 - (IBAction)adjImg_sliders:(id)sender;
91 - (IBAction)audFtls_hdphnVirt:(id)sender;
92 - (IBAction)audFtls_maxLevelSld:(id)sender;
93 - (IBAction)audFtls_vlmeNorm:(id)sender;
94 - (IBAction)extWin_exp_adjImg:(id)sender;
95 - (IBAction)extWin_exp_audFlts:(id)sender;
96 - (IBAction)extWin_exp_vidFlts:(id)sender;
97 - (IBAction)vidFlts:(id)sender;
98 - (IBAction)vidFlts_mrInfo:(id)sender;
99
100 + (VLCExtended *)sharedInstance;
101
102 - (void)showPanel;
103 - (void)initStrings;
104 - (void)changeVFiltersString: (char *)psz_name onOrOff: (BOOL)o_onOrOff;
105 - (void)changeAFiltersString: (char *)psz_name onOrOff: (BOOL)o_onOrOff;
106 @end