diff --git a/InfoView.h b/InfoView.h deleted file mode 100644 index 946850e29..000000000 --- a/InfoView.h +++ /dev/null @@ -1,8 +0,0 @@ -/* InfoView */ - -#import - -@interface InfoView : NSView -{ -} -@end diff --git a/InfoView.m b/InfoView.m deleted file mode 100644 index 959fc68ae..000000000 --- a/InfoView.m +++ /dev/null @@ -1,21 +0,0 @@ -#import "InfoView.h" - -@implementation InfoView -/* -- (id)initWithFrame:(NSRect)frameRect -{ - if ((self = [super initWithFrame:frameRect]) != nil) { - // Add initialization code here - } - return self; -} - -- (void)drawRect:(NSRect)rect -{ -} -*/ -- (BOOL)isFlipped -{ - return YES; -} -@end diff --git a/TrackingCell.h b/TrackingCell.h deleted file mode 100644 index d385c21c0..000000000 --- a/TrackingCell.h +++ /dev/null @@ -1,14 +0,0 @@ -/* TrackingCell */ - -#import - -@interface TrackingCell : NSSliderCell -{ - BOOL tracking; -} - -- (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView *)controlView; -- (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView *)controlView mouseIsUp:(BOOL)flags; -- (BOOL)tracking; - -@end diff --git a/TrackingCell.m b/TrackingCell.m deleted file mode 100644 index 265789fe7..000000000 --- a/TrackingCell.m +++ /dev/null @@ -1,27 +0,0 @@ -#import "TrackingCell.h" - -@implementation TrackingCell - -- (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView *)controlView -{ -// DBLog(@"TRACKING"); - tracking = YES; - return [super startTrackingAt:startPoint inView:controlView]; - -} - -- (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView *)controlView mouseIsUp:(BOOL)flag -{ -// DBLog(@"NOT TRACKING"); - tracking = NO; - - [super stopTracking:lastPoint at:stopPoint inView:controlView mouseIsUp:flag]; -} - -- (BOOL)tracking -{ - return tracking; -} - - -@end diff --git a/TrackingSlider.h b/TrackingSlider.h deleted file mode 100644 index 54087843e..000000000 --- a/TrackingSlider.h +++ /dev/null @@ -1,10 +0,0 @@ -/* TrackingSlider */ - -#import - -@interface TrackingSlider : NSSlider -{ -} --(BOOL)tracking; - -@end diff --git a/TrackingSlider.m b/TrackingSlider.m deleted file mode 100644 index 5427be3dc..000000000 --- a/TrackingSlider.m +++ /dev/null @@ -1,38 +0,0 @@ -#import "TrackingSlider.h" -#import "TrackingCell.h" - -@implementation TrackingSlider - -- (id)initWithCoder:(NSCoder *)decoder -{ - self = [super initWithCoder:decoder]; - if (self) - { - if (![[self cell] isKindOfClass:[TrackingCell class]]) - { - TrackingCell *trackingCell; - trackingCell = [[TrackingCell alloc] init]; - - [trackingCell setAction:[[self cell] action]]; - [trackingCell setContinuous:[[self cell] isContinuous]]; - [trackingCell setTarget:[[self cell] target]]; - [self setCell:trackingCell]; - - [trackingCell release]; - } - } - - return self; -} - -+ (Class) cellClass -{ - return [TrackingCell class]; -} - --(BOOL)tracking -{ - return [[self cell] tracking]; -} - -@end