From 664c0e238ec9feb873cfabc6e5ab5e43213323f9 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 7 Jun 2010 23:31:59 +0000 Subject: - Replace the precompiled PSMTabBar framework with a build-from-source dependency, in preparation for future code and style changes --- Frameworks/PSMTabBar/PSMProgressIndicator.m | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Frameworks/PSMTabBar/PSMProgressIndicator.m (limited to 'Frameworks/PSMTabBar/PSMProgressIndicator.m') diff --git a/Frameworks/PSMTabBar/PSMProgressIndicator.m b/Frameworks/PSMTabBar/PSMProgressIndicator.m new file mode 100644 index 00000000..f79852a2 --- /dev/null +++ b/Frameworks/PSMTabBar/PSMProgressIndicator.m @@ -0,0 +1,27 @@ +// +// 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 -- cgit v1.2.3