mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-02 02:46:59 +03:00
7b2694e9f6
svn path=/trunk/netsurf/; revision=11490
28 lines
611 B
Objective-C
28 lines
611 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 |