summaryrefslogtreecommitdiff
path: root/macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m')
-rw-r--r--macosx/plugins/PeopsSpu109/macsrc/NamedSlider.m33
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