57 // The last processed key event 58 NSEvent *s_lastKeyEvent; 59 60 NSDragOperation dragOperation; 61 NSInteger lastTrackingNumber; 62 63 @public 64 jobject jView; 65 // not nil when we create a new FS window ourselves 66 GlassFullscreenWindow *fullscreenWindow; 67 } 68 69 - (id)initWithView:(NSView*)view withJview:(jobject)jview; 70 71 - (void)viewDidMoveToWindow; 72 - (void)setFrameSize:(NSSize)newSize; 73 - (void)setFrame:(NSRect)frameRect; 74 - (void)updateTrackingAreas; 75 - (void)drawRect:(NSRect)dirtyRect; 76 77 - (void)sendJavaMouseEvent:(NSEvent *)theEvent; 78 - (void)resetMouseTracking; 79 - (void)sendJavaMenuEvent:(NSEvent *)theEvent; 80 - (void)sendJavaKeyEvent:(NSEvent *)event isDown:(BOOL)isDown; 81 - (void)sendJavaModifierKeyEvent:(NSEvent *)theEvent; 82 - (void)sendJavaGestureEvent:(NSEvent *)theEvent type:(int)type; 83 - (void)sendJavaGestureBeginEvent:(NSEvent *)theEvent; 84 - (void)sendJavaGestureEndEvent:(NSEvent *)theEvent; 85 86 - (NSDragOperation)sendJavaDndEvent:(id <NSDraggingInfo>)info type:(jint)type; 87 88 - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal; 89 - (void)startDrag:(NSDragOperation)operation; 90 91 - (BOOL)suppressMouseEnterExitOnMouseDown; 92 93 - (void)enterFullscreenWithAnimate:(BOOL)animate withKeepRatio:(BOOL)keepRatio withHideCursor:(BOOL)hideCursor; 94 - (void)exitFullscreenWithAnimate:(BOOL)animate; 95 - (void)sendJavaFullScreenEvent:(BOOL)entered withNativeWidget:(BOOL)isNative; 96 | 57 // The last processed key event 58 NSEvent *s_lastKeyEvent; 59 60 NSDragOperation dragOperation; 61 NSInteger lastTrackingNumber; 62 63 @public 64 jobject jView; 65 // not nil when we create a new FS window ourselves 66 GlassFullscreenWindow *fullscreenWindow; 67 } 68 69 - (id)initWithView:(NSView*)view withJview:(jobject)jview; 70 71 - (void)viewDidMoveToWindow; 72 - (void)setFrameSize:(NSSize)newSize; 73 - (void)setFrame:(NSRect)frameRect; 74 - (void)updateTrackingAreas; 75 - (void)drawRect:(NSRect)dirtyRect; 76 77 - (void)setResizableForFullscreen:(BOOL)resizable; 78 79 - (void)sendJavaMouseEvent:(NSEvent *)theEvent; 80 - (void)resetMouseTracking; 81 - (void)sendJavaMenuEvent:(NSEvent *)theEvent; 82 - (void)sendJavaKeyEvent:(NSEvent *)event isDown:(BOOL)isDown; 83 - (void)sendJavaModifierKeyEvent:(NSEvent *)theEvent; 84 - (void)sendJavaGestureEvent:(NSEvent *)theEvent type:(int)type; 85 - (void)sendJavaGestureBeginEvent:(NSEvent *)theEvent; 86 - (void)sendJavaGestureEndEvent:(NSEvent *)theEvent; 87 88 - (NSDragOperation)sendJavaDndEvent:(id <NSDraggingInfo>)info type:(jint)type; 89 90 - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal; 91 - (void)startDrag:(NSDragOperation)operation; 92 93 - (BOOL)suppressMouseEnterExitOnMouseDown; 94 95 - (void)enterFullscreenWithAnimate:(BOOL)animate withKeepRatio:(BOOL)keepRatio withHideCursor:(BOOL)hideCursor; 96 - (void)exitFullscreenWithAnimate:(BOOL)animate; 97 - (void)sendJavaFullScreenEvent:(BOOL)entered withNativeWidget:(BOOL)isNative; 98 |