netsurf/cocoa/PSMTabBarControl/PSMProgressIndicator.m
Sven Weidauer f85335a7f9 Implementing tabs and fixing scrolling.
svn path=/trunk/netsurf/; revision=11396
2011-01-19 20:19:43 +00:00

28 lines
620 B
Objective-C

//
// PSMProgressIndicator.m
// PSMTabBarControl
//
// Created by John Pannell on 2/23/06.
// Copyright 2006 Positive Spin Media. All rights reserved.
//
#import "PSMProgressIndicator.h"
@implementation PSMProgressIndicator
// 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