< prev index next >
src/java.desktop/macosx/native/libawt_lwawt/awt/CTrayIcon.h
Print this page
*** 24,33 ****
--- 24,34 ----
*/
#include <jni.h>
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
+ #import <AppKit/NSTrackingArea.h>
#import "CPopupMenu.h"
#ifndef _Included_sun_awt_lwmacosx_CTrayIcon
#define _Included_sun_awt_lwmacosx_CTrayIcon
*** 62,77 ****
--- 63,80 ----
* AWTTrayIconView */
@interface AWTTrayIconView : NSView <NSMenuDelegate> {
@public
AWTTrayIcon *trayIcon;
NSImage* image;
+ NSTrackingArea *trackingArea;
BOOL isHighlighted;
}
-(id)initWithTrayIcon:(AWTTrayIcon *)theTrayIcon;
-(void)setHighlighted:(BOOL)aFlag;
-(void)setImage:(NSImage*)anImage;
-(void)setTrayIcon:(AWTTrayIcon*)theTrayIcon;
+ -(void)addTrackingArea;
@end //AWTTrayIconView
#ifdef __cplusplus
}
< prev index next >