diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-01 05:50:53 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-01 05:50:53 +0000 |
| commit | 8549d0c54350ee4b08e979c4712f313aba58ff3f (patch) | |
| tree | a18f921f7f47e33f0afed8fb03ef20a340773ed8 /macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m | |
| parent | 85fb698328b912d7c80aeacf310357ed7696427f (diff) | |
| download | pcsxr-8549d0c54350ee4b08e979c4712f313aba58ff3f.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34479 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m')
| -rw-r--r-- | macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m b/macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m deleted file mode 100644 index fd07780a..00000000 --- a/macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m +++ /dev/null @@ -1,33 +0,0 @@ -#import "NamedSlider.h" - -@implementation NamedSlider - -- (void)dealloc -{ - [strings release]; - [super dealloc]; -} - -- (void)setStrings:(NSArray *)theStrings -{ - [strings release]; - strings = [theStrings retain]; -} - -- (NSString *)stringValue -{ - int index = [self intValue]; - - if (index >= 0 && index < [strings count]) - return [strings objectAtIndex:index]; - - return @"(Unknown)"; -} - -- (void)setIntValue:(int)value -{ - [super setIntValue:value]; - [self sendAction:[self action] to:[self target]]; -} - -@end |
