1 /*****************************************************************************
2 * extended.h: MacOS X Extended interface panel
3 *****************************************************************************
4 * Copyright (C) 2005-2007 the VideoLAN team
7 * Authors: Felix Paul Kühne <fkuehne@videolan.org>
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 /*****************************************************************************
26 *****************************************************************************/
28 #import <Cocoa/Cocoa.h>
30 #import <vlc_common.h>
32 @interface VLCExtended : NSObject
34 /* views and window */
35 IBOutlet id o_adjustImg_view;
36 IBOutlet id o_audioFlts_view;
37 IBOutlet id o_videoFilters_view;
38 IBOutlet id o_extended_window;
41 IBOutlet id o_expBtn_adjustImage;
42 IBOutlet id o_expBtn_audioFlts;
43 IBOutlet id o_expBtn_videoFlts;
44 IBOutlet id o_lbl_audioFlts;
45 IBOutlet id o_lbl_videoFlts;
46 IBOutlet id o_lbl_adjustImage;
47 IBOutlet id o_lbl_video;
48 IBOutlet id o_lbl_audio;
49 IBOutlet id o_box_vidFlts;
50 IBOutlet id o_box_audFlts;
51 IBOutlet id o_box_adjImg;
54 IBOutlet id o_btn_vidFlts_mrInfo;
55 IBOutlet id o_ckb_blur;
56 IBOutlet id o_ckb_imgClone;
57 IBOutlet id o_ckb_imgCrop;
58 IBOutlet id o_ckb_imgInvers;
59 IBOutlet id o_ckb_trnsform;
60 IBOutlet id o_ckb_intZoom;
61 IBOutlet id o_ckb_wave;
62 IBOutlet id o_ckb_ripple;
63 IBOutlet id o_ckb_psycho;
64 IBOutlet id o_ckb_gradient;
65 IBOutlet id o_lbl_general;
66 IBOutlet id o_lbl_distort;
69 IBOutlet id o_ckb_vlme_norm;
70 IBOutlet id o_ckb_hdphnVirt;
71 IBOutlet id o_lbl_maxLevel;
72 IBOutlet id o_sld_maxLevel;
75 IBOutlet id o_btn_rstrDefaults;
76 IBOutlet id o_ckb_enblAdjustImg;
77 IBOutlet id o_lbl_brightness;
78 IBOutlet id o_lbl_contrast;
79 IBOutlet id o_lbl_gamma;
80 IBOutlet id o_lbl_hue;
81 IBOutlet id o_lbl_saturation;
82 IBOutlet id o_lbl_opaque;
83 IBOutlet id o_sld_brightness;
84 IBOutlet id o_sld_contrast;
85 IBOutlet id o_sld_gamma;
86 IBOutlet id o_sld_hue;
87 IBOutlet id o_sld_saturation;
88 IBOutlet id o_sld_opaque;
90 /* global variables */
91 BOOL o_adjImg_expanded;
92 BOOL o_audFlts_expanded;
93 BOOL o_vidFlts_expanded;
95 BOOL o_config_changed;
98 - (IBAction)enableAdjustImage:(id)sender;
99 - (IBAction)restoreDefaultsForAdjustImage:(id)sender;
100 - (IBAction)sliderActionAdjustImage:(id)sender;
101 - (IBAction)opaqueSliderAction:(id)sender;
102 - (IBAction)enableHeadphoneVirtualizer:(id)sender;
103 - (IBAction)sliderActionMaximumAudioLevel:(id)sender;
104 - (IBAction)enableVolumeNormalization:(id)sender;
105 - (IBAction)expandAdjustImage:(id)sender;
106 - (IBAction)expandAudioFilters:(id)sender;
107 - (IBAction)expandVideoFilters:(id)sender;
108 - (IBAction)videoFilterAction:(id)sender;
109 - (IBAction)moreInfoVideoFilters:(id)sender;
111 + (VLCExtended *)sharedInstance;
112 - (BOOL)getConfigChanged;
117 - (void)changeVoutFiltersString: (char *)psz_name onOrOff: (bool )b_add;
118 - (void)changeVideoFiltersString: (char *)psz_name onOrOff: (bool )b_add;
119 - (void)changeAFiltersString: (char *)psz_name onOrOff: (bool )b_add;