<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csplugincommon/macosx/OSXView.h Source File (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>csplugincommon/macosx/OSXView.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span> <a name="l00002"></a>00002 <span class="comment">// OSXView.h</span> <a name="l00003"></a>00003 <span class="comment">// </span> <a name="l00004"></a>00004 <span class="comment">//</span> <a name="l00005"></a>00005 <span class="comment">// Created by Matt Reda on Mon Feb 11 2002.</span> <a name="l00006"></a>00006 <span class="comment">// Copyright (c) 2001 Matt Reda. All rights reserved.</span> <a name="l00007"></a>00007 <span class="comment">//</span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <span class="preprocessor">#import <AppKit/AppKit.h></span> <a name="l00010"></a>00010 <span class="preprocessor">#include "csextern_osx.h"</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 @<span class="keyword">class </span><a class="code" href="interfaceOSXDelegate2D.html">OSXDelegate2D</a>; <a name="l00013"></a>00013 <a name="l00014"></a><a class="code" href="interfaceOSXView.html">00014</a> <span class="keyword">@interface </span><a class="code" href="interfaceOSXView.html">OSXView</a> : NSView <a name="l00015"></a>00015 { <a name="l00017"></a><a class="code" href="interfaceOSXView.html#ab0aec0b9ac13b867ac31dc4ef8f9938">00017</a> <a class="code" href="interfaceOSXDelegate2D.html">OSXDelegate2D</a> *<a class="code" href="interfaceOSXView.html#ab0aec0b9ac13b867ac31dc4ef8f9938" title="Delegate passes along events.">delegate</a>; <a name="l00018"></a>00018 } <a name="l00019"></a>00019 <a name="l00021"></a>00021 - (id) initWithFrame:(NSRect) frame; <a name="l00022"></a>00022 <a name="l00024"></a>00024 - (void) dealloc; <a name="l00025"></a>00025 <a name="l00027"></a>00027 - (void) setDelegate:(<a class="code" href="interfaceOSXDelegate2D.html">OSXDelegate2D</a> *) inDelegate; <a name="l00028"></a>00028 <a name="l00030"></a>00030 - (BOOL) acceptsFirstResponder; <a name="l00031"></a>00031 <a name="l00033"></a>00033 - (void) keyDown:(NSEvent *) ev; <a name="l00034"></a>00034 - (void) keyUp:(NSEvent *) ev; <a name="l00035"></a>00035 - (void) flagsChanged:(NSEvent *) ev; <a name="l00036"></a>00036 - (void) mouseMoved:(NSEvent *) ev; <a name="l00037"></a>00037 - (void) mouseDown:(NSEvent *) ev; <a name="l00038"></a>00038 - (void) mouseUp:(NSEvent *) ev; <a name="l00039"></a>00039 - (void) mouseDragged:(NSEvent *) ev; <a name="l00040"></a>00040 - (void) rightMouseDown:(NSEvent *) ev; <a name="l00041"></a>00041 - (void) rightMouseUp:(NSEvent *) ev; <a name="l00042"></a>00042 - (void) rightMouseDragged:(NSEvent *) ev; <a name="l00043"></a>00043 - (void) otherMouseDown:(NSEvent *) ev; <a name="l00044"></a>00044 - (void) otherMouseUp:(NSEvent *) ev; <a name="l00045"></a>00045 - (void) otherMouseDragged:(NSEvent *) ev; <a name="l00046"></a>00046 <a name="l00047"></a>00047 <span class="keyword">@end</span> </pre></div><hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>