X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fequalizer.h;h=2d5967003cb0420df2660d882b0df1a7ced9cebc;hb=93b2554ad95a5fec1d09909732bde5919be3b6b8;hp=9fd2f002bdfcc393414b32db98f2cbfa4c144609;hpb=a45c363019995672b02c8b319dbbd34ccb6631a4;p=vlc diff --git a/modules/gui/macosx/equalizer.h b/modules/gui/macosx/equalizer.h index 9fd2f002bd..2d5967003c 100644 --- a/modules/gui/macosx/equalizer.h +++ b/modules/gui/macosx/equalizer.h @@ -1,16 +1,16 @@ /***************************************************************************** * equalizer.h: MacOS X interface module ***************************************************************************** - * Copyright (C) 2004 VideoLAN - * $Id: equalizer.h 1 2004-08-07 23:51:00Z djc $ + * Copyright (C) 2004-2008 the VideoLAN team + * $Id$ * - * Authors: JŽr™me Decoodt + * Authors: Jérôme Decoodt * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -18,17 +18,19 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** - * VLCEqualizer interface + * VLCEqualizer interface *****************************************************************************/ @interface VLCEqualizer : NSObject { - IBOutlet id o_btn_2pass; - IBOutlet id o_btn_enable; IBOutlet id o_btn_equalizer; + IBOutlet id o_btn_equalizer_embedded; + IBOutlet id o_ckb_2pass; + IBOutlet id o_ckb_enable; + IBOutlet id o_fld_preamp; IBOutlet id o_popup_presets; IBOutlet id o_slider_band1; IBOutlet id o_slider_band10; @@ -43,10 +45,20 @@ IBOutlet id o_slider_preamp; IBOutlet id o_window; } +- (void)initStrings; +- (void)equalizerUpdated; - (IBAction)bandSliderUpdated:(id)sender; - (IBAction)changePreset:(id)sender; - (IBAction)enable:(id)sender; - (IBAction)preampSliderUpdated:(id)sender; - (IBAction)toggleWindow:(id)sender; - (IBAction)twopass:(id)sender; +- (void)windowWillClose:(NSNotification *)aNotification; +- (void)awakeFromNib; + +- (void)setValue: (float)value forSlider: (int)index; +- (id)sliderByIndex: (int)index; +- (void)setBandSlidersValues: (float *)values; +- (void)initBandSliders; + @end