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

29 lines
624 B
Objective-C

//
// PSMOverflowPopUpButton.h
// NetScrape
//
// Created by John Pannell on 8/4/04.
// Copyright 2004 Positive Spin Media. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface PSMRolloverButton : NSButton
{
NSImage *_rolloverImage;
NSImage *_usualImage;
NSTrackingRectTag _myTrackingRectTag;
}
// the regular image
- (void)setUsualImage:(NSImage *)newImage;
- (NSImage *)usualImage;
// the rollover image
- (void)setRolloverImage:(NSImage *)newImage;
- (NSImage *)rolloverImage;
// tracking rect for mouse events
- (void)addTrackingRect;
- (void)removeTrackingRect;
@end