summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/NamedSlider.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 23:36:29 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-29 23:36:29 +0000
commit460faedba401d0f1a754e8d3b9d4fd1c853d9413 (patch)
tree64f2b3f0e960c0da80df729ead41a9a1165b37dc /macosx/plugins/DFSound/macsrc/NamedSlider.m
parent06f5ec54da4efb1383298da7c2d20805c5304dd1 (diff)
Re-working how DFInput on OS X stores preferences, making it match the rest of the OS X plug-ins.
Do some localization support work on DFInput on OS X. Bump the version in the info.plist file for DFInput to 1.5. Other code changes and improvements on the Mac port. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87023 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.m')
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/NamedSlider.m11
1 files changed, 9 insertions, 2 deletions
diff --git a/macosx/plugins/DFSound/macsrc/NamedSlider.m b/macosx/plugins/DFSound/macsrc/NamedSlider.m
index 55322742..8411481d 100755
--- a/macosx/plugins/DFSound/macsrc/NamedSlider.m
+++ b/macosx/plugins/DFSound/macsrc/NamedSlider.m
@@ -2,18 +2,18 @@
@implementation NamedSlider
@synthesize pluginClass;
+@synthesize strings;
#if !__has_feature(objc_arc)
- (void)dealloc
{
self.strings = nil;
+ self.pluginClass = nil;
[super dealloc];
}
#endif
-@synthesize strings;
-
- (NSString *)stringValue
{
NSInteger index = [self integerValue];
@@ -34,4 +34,11 @@
[self sendAction:[self action] to:[self target]];
}
+- (void)setIntegerValue:(NSInteger)anInteger
+{
+ [super setIntegerValue:anInteger];
+ [self sendAction:[self action] to:[self target]];
+}
+
+
@end