From f85335a7f9fdbff012409bb2af8fecc81740eab0 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Wed, 19 Jan 2011 20:19:43 +0000 Subject: Implementing tabs and fixing scrolling. svn path=/trunk/netsurf/; revision=11396 --- cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h (limited to 'cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h') diff --git a/cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h b/cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h new file mode 100644 index 000000000..19ce95f11 --- /dev/null +++ b/cocoa/PSMTabBarControl/PSMOverflowPopUpButton.h @@ -0,0 +1,28 @@ +// +// PSMOverflowPopUpButton.h +// PSMTabBarControl +// +// Created by John Pannell on 11/4/05. +// Copyright 2005 Positive Spin Media. All rights reserved. +// + +#import + + +@interface PSMOverflowPopUpButton : NSPopUpButton { + NSImage *_PSMTabBarOverflowPopUpImage; + NSImage *_PSMTabBarOverflowDownPopUpImage; + BOOL _down; + BOOL _animatingAlternateImage; + NSTimer *_animationTimer; + CGFloat _animationValue; +} + +//alternate image display +- (BOOL)animatingAlternateImage; +- (void)setAnimatingAlternateImage:(BOOL)flag; + +// archiving +- (void)encodeWithCoder:(NSCoder *)aCoder; +- (id)initWithCoder:(NSCoder *)aDecoder; +@end -- cgit v1.2.3