mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-15 10:39:13 +01:00
d14efe561b
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
46 lines
1.5 KiB
Objective-C
46 lines
1.5 KiB
Objective-C
///////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/objc/NSView.h
|
|
// Purpose: WXNSView class
|
|
// Author: David Elliott
|
|
// Modified by:
|
|
// Created: 2007/04/20 (move from NSView.mm)
|
|
// RCS-ID: $Id: NSView.h 46229 2007-05-28 04:22:10Z DE $
|
|
// Copyright: (c) 2003 David Elliott
|
|
// Licence: wxWindows licence
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __WX_COCOA_OBJC_NSVIEW_H__
|
|
#define __WX_COCOA_OBJC_NSVIEW_H__
|
|
|
|
#include "wx/cocoa/objc/objc_uniquifying.h"
|
|
|
|
#import <AppKit/NSView.h>
|
|
|
|
// ============================================================================
|
|
// @class WXNSView
|
|
// ============================================================================
|
|
@interface WXNSView : NSView
|
|
{
|
|
}
|
|
|
|
- (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;
|
|
- (void)viewDidMoveToWindow;
|
|
- (void)viewWillMoveToWindow:(NSWindow *)newWindow;
|
|
@end // WXNSView
|
|
WX_DECLARE_GET_OBJC_CLASS(WXNSView,NSView)
|
|
|
|
#endif //ndef __WX_COCOA_OBJC_NSVIEW_H__
|