## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csplugincommon/macosx/OSXView.h

    00001 //
    00002 //  OSXView.h
    00003 //
    00004 //
    00005 //  Created by Matt Reda on Mon Feb 11 2002.
    00006 //  Copyright (c) 2001 Matt Reda. All rights reserved.
    00007 //
    00008
    00009 #import <AppKit/AppKit.h>
    00010 #include "csextern_osx.h"
    00011
    00012 @class OSXDelegate2D;
    00013
    00014 @interface OSXView : NSView
    00015 {
    00017   OSXDelegate2D *delegate;
    00018 }
    00019
    00021 - (id) initWithFrame:(NSRect) frame;
    00022
    00024 - (void) dealloc;
    00025
    00027 - (void) setDelegate:(OSXDelegate2D *) inDelegate;
    00028
    00030 - (BOOL) acceptsFirstResponder;
    00031
    00033 - (void) keyDown:(NSEvent *) ev;
    00034 - (void) keyUp:(NSEvent *) ev;
    00035 - (void) flagsChanged:(NSEvent *) ev;
    00036 - (void) mouseMoved:(NSEvent *) ev;
    00037 - (void) mouseDown:(NSEvent *) ev;
    00038 - (void) mouseUp:(NSEvent *) ev;
    00039 - (void) mouseDragged:(NSEvent *) ev;
    00040 - (void) rightMouseDown:(NSEvent *) ev;
    00041 - (void) rightMouseUp:(NSEvent *) ev;
    00042 - (void) rightMouseDragged:(NSEvent *) ev;
    00043 - (void) otherMouseDown:(NSEvent *) ev;
    00044 - (void) otherMouseUp:(NSEvent *) ev;
    00045 - (void) otherMouseDragged:(NSEvent *) ev;
    00046
    00047 @end