2011-01-19 23:19:43 +03:00
|
|
|
//
|
|
|
|
// PSMOverflowPopUpButton.h
|
|
|
|
// NetScrape
|
|
|
|
//
|
|
|
|
// Created by John Pannell on 8/4/04.
|
|
|
|
// Copyright 2004 Positive Spin Media. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2011-01-26 13:52:13 +03:00
|
|
|
@interface PSMRolloverButton : NSButton {
|
|
|
|
NSImage *_rolloverImage;
|
|
|
|
NSImage *_usualImage;
|
|
|
|
NSTrackingRectTag _myTrackingRectTag;
|
2011-01-19 23:19:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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
|