]>
Commit | Line | Data |
---|---|---|
ad3628fa DE |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/cocoa/objc/NSView.h | |
829a2e95 | 3 | // Purpose: WXNSView class |
ad3628fa DE |
4 | // Author: David Elliott |
5 | // Modified by: | |
6 | // Created: 2007/04/20 (move from NSView.mm) | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 David Elliott | |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef __WX_COCOA_OBJC_NSVIEW_H__ | |
13 | #define __WX_COCOA_OBJC_NSVIEW_H__ | |
14 | ||
15 | #import <AppKit/NSView.h> | |
16 | ||
17 | // ============================================================================ | |
829a2e95 | 18 | // @class WXNSView |
ad3628fa | 19 | // ============================================================================ |
829a2e95 | 20 | @interface WXNSView : NSView |
ad3628fa DE |
21 | { |
22 | } | |
23 | ||
24 | - (void)drawRect: (NSRect)rect; | |
25 | - (void)mouseDown:(NSEvent *)theEvent; | |
26 | - (void)mouseDragged:(NSEvent *)theEvent; | |
27 | - (void)mouseUp:(NSEvent *)theEvent; | |
28 | - (void)mouseMoved:(NSEvent *)theEvent; | |
29 | - (void)mouseEntered:(NSEvent *)theEvent; | |
30 | - (void)mouseExited:(NSEvent *)theEvent; | |
31 | - (void)rightMouseDown:(NSEvent *)theEvent; | |
32 | - (void)rightMouseDragged:(NSEvent *)theEvent; | |
33 | - (void)rightMouseUp:(NSEvent *)theEvent; | |
34 | - (void)otherMouseDown:(NSEvent *)theEvent; | |
35 | - (void)otherMouseDragged:(NSEvent *)theEvent; | |
36 | - (void)otherMouseUp:(NSEvent *)theEvent; | |
37 | - (void)resetCursorRects; | |
829a2e95 | 38 | @end // WXNSView |
ad3628fa DE |
39 | |
40 | #endif //ndef __WX_COCOA_OBJC_NSVIEW_H__ |