From f557fb4d2b84e5948f54a5fbb0a645a5f97b83dd Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 3 Jul 2013 06:57:46 +0000 Subject: Get rid of the messy preprocessor hack for named sliders on the audio plug-ins for OS X: Consolidate files that are the same. Whatever class loads a nib, will be that owner, no matter what the nib says. Have shared code be in a dylib that loads, so there isn't warnings about conflicting classes. Other changes git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85757 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- .../plugins/DFSound/macsrc/SPUPluginController.h | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 macosx/plugins/DFSound/macsrc/SPUPluginController.h (limited to 'macosx/plugins/DFSound/macsrc/SPUPluginController.h') diff --git a/macosx/plugins/DFSound/macsrc/SPUPluginController.h b/macosx/plugins/DFSound/macsrc/SPUPluginController.h new file mode 100644 index 00000000..e6a61308 --- /dev/null +++ b/macosx/plugins/DFSound/macsrc/SPUPluginController.h @@ -0,0 +1,30 @@ +// +// SPUPluginController.h +// PeopsSPU +// +// Created by C.W. Betts on 7/2/13. +// +// + +#import +#import "NamedSlider.h" + +@interface SPUPluginController : NSWindowController +{ + IBOutlet NSControl *hiCompBox; + IBOutlet NamedSlider *interpolValue; + IBOutlet NSControl *irqWaitBox; + IBOutlet NSControl *monoSoundBox; + IBOutlet NamedSlider *reverbValue; + IBOutlet NSControl *xaEnableBox; + IBOutlet NSControl *xaSpeedBox; + IBOutlet NamedSlider *volumeValue; + + NSMutableDictionary *keyValues; +} +- (IBAction)cancel:(id)sender; +- (IBAction)ok:(id)sender; +- (IBAction)reset:(id)sender; + +- (void)loadValues; +@end -- cgit v1.2.3