blob: 2762ae5136bb12df1f07d7bb33c6de175a784fa4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SGL: SkOSWindow_Mac.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.0 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">skia</a></div>
<h1>SkOSWindow_Mac.h</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef SkOSWindow_Mac_DEFINED</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define SkOSWindow_Mac_DEFINED</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include "SkWindow.h"</span>
00005
00006 <span class="keyword">class </span>SkOSWindow : <span class="keyword">public</span> SkWindow {
00007 <span class="keyword">public</span>:
00008 SkOSWindow(<span class="keywordtype">void</span>* hwnd);
00009
00010 <span class="keywordtype">void</span>* getHWND()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> fHWND; }
00011 <span class="keywordtype">void</span> updateSize();
00012
00013 <span class="keyword">static</span> <span class="keywordtype">bool</span> PostEvent(<a class="code" href="classSkEvent.html">SkEvent</a>* evt, SkEventSinkID, SkMSec delay);
00014
00015 <span class="keyword">static</span> pascal OSStatus SkOSWindow::EventHandler( EventHandlerCallRef inHandler, EventRef inEvent, <span class="keywordtype">void</span>* userData );
00016
00017 <span class="keyword">protected</span>:
00018 <span class="comment">// overrides from SkWindow</span>
00019 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onHandleInval(<span class="keyword">const</span> SkRect16&amp;);
00020 <span class="comment">// overrides from SkView</span>
00021 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onAddMenu(<span class="keyword">const</span> SkOSMenu*);
00022
00023 <span class="keyword">private</span>:
00024 <span class="keywordtype">void</span>* fHWND;
00025
00026 <span class="keywordtype">void</span> doPaint(<span class="keywordtype">void</span>* ctx);
00027
00028 <span class="keyword">typedef</span> SkWindow INHERITED;
00029 };
00030
00031 <span class="preprocessor">#endif</span>
00032 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 9 14:35:23 2006 for SGL by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.0 </small></address>
</body>
</html>