diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-05-05 22:28:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-05-15 13:44:34 +0100 |
commit | d21447d096a320a08b3efb2b8768fad0dcdcfd64 (patch) | |
tree | 1a83814b7c9e94b2f13c473261f23dd3a17dee64 /cocoa/PSMTabBarControl/PSMProgressIndicator.m | |
parent | 2cbb337756d9af5bda4d594964d446439f602551 (diff) | |
download | netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.gz netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.bz2 |
move frontends into sub directory
Diffstat (limited to 'cocoa/PSMTabBarControl/PSMProgressIndicator.m')
-rw-r--r-- | cocoa/PSMTabBarControl/PSMProgressIndicator.m | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/cocoa/PSMTabBarControl/PSMProgressIndicator.m b/cocoa/PSMTabBarControl/PSMProgressIndicator.m deleted file mode 100644 index 983609bbc..000000000 --- a/cocoa/PSMTabBarControl/PSMProgressIndicator.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// PSMProgressIndicator.m -// PSMTabBarControl -// -// Created by John Pannell on 2/23/06. -// Copyright 2006 Positive Spin Media. All rights reserved. -// - -#import "PSMProgressIndicator.h" -#import "PSMTabBarControl.h" - -@interface PSMTabBarControl (PSMProgressIndicatorExtensions) - -- (void)update; - -@end - -@implementation PSMProgressIndicator - -- (id) initWithFrame: (NSRect)frameRect; -{ - if ((self = [super initWithFrame: frameRect]) == nil) return nil; - [self setControlSize: NSSmallControlSize]; - return self; -} - -// overrides to make tab bar control re-layout things if status changes -- (void)setHidden:(BOOL)flag { - [super setHidden:flag]; - [(PSMTabBarControl *)[self superview] update]; -} - -- (void)stopAnimation:(id)sender { - [NSObject cancelPreviousPerformRequestsWithTarget:self - selector:@selector(startAnimation:) - object:nil]; - [super stopAnimation:sender]; -} - -@end |