extended.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * extended.h: MacOS X Extended interface panel
00003  *****************************************************************************
00004  * Copyright (C) 2005-2007 the VideoLAN team
00005  * $Id: ed8ad986ead462fcf2785072a99dbd58709f7ae7 $
00006  *
00007  * Authors: Felix Paul Kühne <fkuehne at videolan dot org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 /*****************************************************************************
00025  * VLCExtended
00026  *****************************************************************************/
00027 
00028 #import <Cocoa/Cocoa.h>
00029 #import "intf.h"
00030 #import <vlc_common.h>
00031 
00032 @interface VLCExtended : NSObject
00033 {
00034     /* views and window */
00035     IBOutlet id o_adjustImg_view;
00036     IBOutlet id o_audioFlts_view;
00037     IBOutlet id o_videoFilters_view;
00038     IBOutlet id o_extended_window;
00039 
00040     /* window content */
00041     IBOutlet id o_selector_pop;
00042     IBOutlet id o_top_controls_box;
00043 
00044     /* video filters */
00045     IBOutlet id o_btn_vidFlts_mrInfo;
00046     IBOutlet id o_ckb_blur;
00047     IBOutlet id o_ckb_imgClone;
00048     IBOutlet id o_ckb_imgCrop;
00049     IBOutlet id o_ckb_imgInvers;
00050     IBOutlet id o_ckb_trnsform;
00051     IBOutlet id o_ckb_intZoom;
00052     IBOutlet id o_ckb_wave;
00053     IBOutlet id o_ckb_ripple;
00054     IBOutlet id o_ckb_psycho;
00055     IBOutlet id o_ckb_gradient;
00056     IBOutlet id o_lbl_general;
00057     IBOutlet id o_lbl_distort;
00058 
00059     /* audio filters */
00060     IBOutlet id o_ckb_vlme_norm;
00061     IBOutlet id o_ckb_hdphnVirt;
00062     IBOutlet id o_lbl_maxLevel;
00063     IBOutlet id o_sld_maxLevel;
00064 
00065     /* adjust image */
00066     IBOutlet id o_btn_rstrDefaults;
00067     IBOutlet id o_ckb_enblAdjustImg;
00068     IBOutlet id o_lbl_brightness;
00069     IBOutlet id o_lbl_contrast;
00070     IBOutlet id o_lbl_gamma;
00071     IBOutlet id o_lbl_hue;
00072     IBOutlet id o_lbl_saturation;
00073     IBOutlet id o_lbl_opaque;
00074     IBOutlet id o_sld_brightness;
00075     IBOutlet id o_sld_contrast;
00076     IBOutlet id o_sld_gamma;
00077     IBOutlet id o_sld_hue;
00078     IBOutlet id o_sld_saturation;
00079     IBOutlet id o_sld_opaque;
00080 
00081     /* global variables */
00082     NSView * o_currentlyshown_view;
00083     BOOL o_config_changed;
00084 }
00085 
00086 - (IBAction)viewSelectorAction:(id)sender;
00087 - (IBAction)enableAdjustImage:(id)sender;
00088 - (IBAction)restoreDefaultsForAdjustImage:(id)sender;
00089 - (IBAction)sliderActionAdjustImage:(id)sender;
00090 - (IBAction)opaqueSliderAction:(id)sender;
00091 - (IBAction)enableHeadphoneVirtualizer:(id)sender;
00092 - (IBAction)sliderActionMaximumAudioLevel:(id)sender;
00093 - (IBAction)enableVolumeNormalization:(id)sender;
00094 - (IBAction)videoFilterAction:(id)sender;
00095 - (IBAction)moreInfoVideoFilters:(id)sender;
00096 
00097 + (VLCExtended *)sharedInstance;
00098 - (BOOL)configChanged;
00099 
00100 - (void)showPanel;
00101 - (void)initStrings;
00102 - (void)changeVoutFiltersString: (char *)psz_name onOrOff: (bool )b_add;
00103 - (void)changeVideoFiltersString: (char *)psz_name onOrOff: (bool )b_add;
00104 - (void)changeAFiltersString: (char *)psz_name onOrOff: (bool )b_add;
00105 - (void)savePrefs;
00106 @end

Generated on Tue May 25 08:04:56 2010 for VLC by  doxygen 1.5.6