2007-04-20 16:21:52 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/cocoa/objc/NSView.h
|
2007-04-20 18:27:56 -04:00
|
|
|
// Purpose: WXNSView class
|
2007-04-20 16:21:52 -04:00
|
|
|
// Author: David Elliott
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2007/04/20 (move from NSView.mm)
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2003 David Elliott
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_COCOA_OBJC_NSVIEW_H__
|
|
|
|
#define __WX_COCOA_OBJC_NSVIEW_H__
|
|
|
|
|
|
|
|
#import <AppKit/NSView.h>
|
|
|
|
|
|
|
|
// ============================================================================
|
2007-04-20 18:27:56 -04:00
|
|
|
// @class WXNSView
|
2007-04-20 16:21:52 -04:00
|
|
|
// ============================================================================
|
2007-04-20 18:27:56 -04:00
|
|
|
@interface WXNSView : NSView
|
2007-04-20 16:21:52 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void)drawRect: (NSRect)rect;
|
|
|
|
- (void)mouseDown:(NSEvent *)theEvent;
|
|
|
|
- (void)mouseDragged:(NSEvent *)theEvent;
|
|
|
|
- (void)mouseUp:(NSEvent *)theEvent;
|
|
|
|
- (void)mouseMoved:(NSEvent *)theEvent;
|
|
|
|
- (void)mouseEntered:(NSEvent *)theEvent;
|
|
|
|
- (void)mouseExited:(NSEvent *)theEvent;
|
|
|
|
- (void)rightMouseDown:(NSEvent *)theEvent;
|
|
|
|
- (void)rightMouseDragged:(NSEvent *)theEvent;
|
|
|
|
- (void)rightMouseUp:(NSEvent *)theEvent;
|
|
|
|
- (void)otherMouseDown:(NSEvent *)theEvent;
|
|
|
|
- (void)otherMouseDragged:(NSEvent *)theEvent;
|
|
|
|
- (void)otherMouseUp:(NSEvent *)theEvent;
|
|
|
|
- (void)resetCursorRects;
|
2007-04-20 18:27:56 -04:00
|
|
|
@end // WXNSView
|
2007-04-20 16:21:52 -04:00
|
|
|
|
|
|
|
#endif //ndef __WX_COCOA_OBJC_NSVIEW_H__
|