48 lines
10 KiB
HTML
48 lines
10 KiB
HTML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>The Be Book - Classes And Methods - The Application Kit</title><link rel="stylesheet" href="be_book.css" type="text/css" media="all" /><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./images/favicon.ico" /><!--[if IE]>
|
||
<link rel="stylesheet" type="text/css" href="be_book_ie.css" />
|
||
<![endif]--><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /><meta name="keywords" content="Access, BeOS, BeBook, API" /><link rel="start" href="index.html" title="The Be Book" /><link rel="up" href="TheApplicationKit.html" title="The Application Kit" /><link rel="prev" href="BClipboard.html" title="BClipboard" /><link rel="next" href="BHandler.html" title="BHandler" /></head><body><div id="header"><div id="headerT"><div id="headerTL"><a accesskey="p" href="BClipboard.html" title="BClipboard"><img src="./images/navigation/prev.png" alt="Prev" /></a> <a accesskey="u" href="TheApplicationKit.html" title="The Application Kit"><img src="./images/navigation/up.png" alt="Up" /></a> <a accesskey="n" href="BHandler.html" title="BHandler"><img src="./images/navigation/next.png" alt="Next" /></a></div><div id="headerTR"><div id="navigpeople"><a href="http://www.haiku-os.org"><img src="./images/People_24.png" alt="haiku-os.org" title="Visit The Haiku Website" /></a></div><div class="navighome" title="Home"><a accesskey="h" href="index.html"><img src="./images/navigation/home.png" alt="Home" /></a></div><div class="navigboxed" id="navigindex"><a accesskey="i" href="ClassIndex.html" title="Index">I</a></div><div class="navigboxed" id="naviglang" title="English">en</div></div><div id="headerTC">The Be Book - Classes And Methods - The Application Kit</div></div><div id="headerB">Prev: <a href="BClipboard.html">BClipboard</a> Up: <a href="TheApplicationKit.html">The Application Kit</a> Next: <a href="BHandler.html">BHandler</a></div><hr /></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><div xmlns:d="http://docbook.org/ns/docbook"><h2 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor"></a>BCursor</h2></div></div></div><a id="id661335" class="indexterm"></a><div class="classheader"><table border="0"><colgroup><col /><col /></colgroup><tbody><tr><td><table width="100%" border="0"><colgroup><col /><col /></colgroup><tbody><tr><td>Derived From:</td><td>–</td></tr><tr><td>Mix-in Classes:</td><td><a class="link" href="BArchivable.html" title="BArchivable"><code class="classname">BArchivable</code></a></td></tr><tr><td>Declared In:</td><td><code class="filename">app/Cursor.h</code></td></tr><tr><td>Library:</td><td><code class="filename">libbe.so</code></td></tr><tr><td>Allocation:</td><td>–</td></tr></tbody></table></td><td>
|
||
<a class="link overview" href="BCursor_Overview.html" title="BCursor">Class Overview</a>
|
||
<div class="toc"><ul><li><span class="section"><a href="BCursor.html#BCursor_ConstructorDestructor">Constructor and Destructor</a></span></li><li><span class="section"><a href="BCursor.html#BCursor_StaticFunctions">Static Functions</a></span></li><li><span class="section"><a href="BCursor.html#TheApplicationKit_Constants">
|
||
|
||
|
||
|
||
Constants</a></span></li></ul></div>
|
||
</td></tr></tbody></table></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><hr /><div xmlns:d="http://docbook.org/ns/docbook"><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor_ConstructorDestructor"></a>Constructor and Destructor</h3></div></div></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><div xmlns:d="http://docbook.org/ns/docbook"><h4 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor_Constructor"></a>BCursor()</h4></div></div></div><div class="synopsisgroup">
|
||
<code class="constructorsynopsis cpp"><span class="methodname">BCursor</span>(<span class="methodparam"><span class="modifier">const </span><span class="type">void* </span><span class="parameter">cursorData</span></span>);</code>
|
||
|
||
<code class="constructorsynopsis cpp"><span class="methodname">BCursor</span>(<span class="methodparam"><span class="type">BMessage* </span><span class="parameter">archive</span></span>);</code>
|
||
</div><p>
|
||
Initializes the new cursor object. If you specify a
|
||
non-<code class="constant">NULL</code> value for <code class="parameter">cursorData</code>,
|
||
the cursor is initialized with the specified cursor data.
|
||
</p><p>
|
||
If you specify a <code class="constant">NULL</code> value for
|
||
<code class="parameter">cursorData</code>, the cursor is useless; since this class
|
||
doesn't currently provide a means of setting the cursor data once the
|
||
object is instantiated, you're out of luck, so why bother?
|
||
</p><p>
|
||
<code class="classname">BCursor</code> doesn't currently implement archiving, so
|
||
you shouldn't use the second form.
|
||
</p></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><div xmlns:d="http://docbook.org/ns/docbook"><h4 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor_Destructor"></a>~BCursor()</h4></div></div></div><code class="destructorsynopsis cpp"><span class="modifier">virtual </span><span class="methodname">~BCursor</span>();</code><p>
|
||
Releases any resources used by the cursor.
|
||
</p></div></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><hr /><div xmlns:d="http://docbook.org/ns/docbook"><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor_StaticFunctions"></a>Static Functions</h3></div></div></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><div xmlns:d="http://docbook.org/ns/docbook"><h4 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="BCursor_Instantiate"></a>Instantiate()</h4></div></div></div><code class="methodsynopsis cpp"><span class="modifier">static </span><span class="type">BArchivable* </span><span class="methodname">Instantiate</span>(<span class="methodparam"><span class="type">BMessage* </span><span class="parameter">archive</span></span>);</code><p>
|
||
Not currently implemented; always returns <code class="constant">NULL</code>.
|
||
</p><p>
|
||
See also: <a class="link" href="BArchivable.html#BArchivable_Instantiate" title="Instantiate()"><code class="methodname">BArchivable::Instantiate()</code></a>,
|
||
<a class="link" href="BArchivable.html#BArchivable_Archive" title="Archive()"><code class="methodname">BArchivable::Archive()</code></a>
|
||
</p></div></div><div class="section"><div xmlns="" xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><hr /><div xmlns:d="http://docbook.org/ns/docbook"><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="TheApplicationKit_Constants"></a><a id="B_HAND_CURSOR"></a>
|
||
<a id="B_I_BEAM_CURSOR"></a>
|
||
<a id="B_CURSOR_SYSTEM_DEFAULT"></a>
|
||
<a id="B_CURSOR_I_BEAM"></a>
|
||
Constants</h3></div></div></div><a id="id662212" class="indexterm"></a><a id="id662221" class="indexterm"></a><a id="id662230" class="indexterm"></a><a id="id662240" class="indexterm"></a><p>Declared in: <code class="filename">app/AppDefs.h</code></p><pre class="programlisting definition c"><span class="type">const unsigned char</span> <code class="constant">B_HAND_CURSOR</code>[]
|
||
<span class="type">const unsigned char</span> <code class="constant">B_I_BEAM_CURSOR</code>[]</pre><p>These constants contain all the data needed to set the cursor to the
|
||
default hand image or to the standard I-beam image for text selection.</p><pre class="programlisting definition cpp"><span class="type">const <code class="classname">BCursor</code>*</span> <code class="constant">B_CURSOR_SYSTEM_DEFAULT</code>
|
||
<span class="type">const <code class="classname">BCursor</code>*</span> <code class="constant">B_CURSOR_I_BEAM</code></pre><p>The second two constants are
|
||
<a class="link" href="BCursor.html" title="BCursor"><code class="classname">BCursor</code></a>
|
||
objects and produce the same cursors the first two constants.</p><p>See also:
|
||
<a class="link" href="BApplication.html#BApplication_SetCursor" title="SetCursor(), HideCursor(), ShowCursor(), ObscureCursor(), IsCursorHidden()"><code class="methodname">BApplication::SetCursor()</code></a></p></div></div><div id="footer"><hr /><div id="footerT">Prev: <a href="BClipboard.html">BClipboard</a> Up: <a href="TheApplicationKit.html">The Application Kit</a> Next: <a href="BHandler.html">BHandler</a> </div><div id="footerB"><div id="footerBL"><a href="BClipboard.html" title="BClipboard"><img src="./images/navigation/prev.png" alt="Prev" /></a> <a href="TheApplicationKit.html" title="The Application Kit"><img src="./images/navigation/up.png" alt="Up" /></a> <a href="BHandler.html" title="BHandler"><img src="./images/navigation/next.png" alt="Next" /></a></div><div id="footerBR"><div><a href="http://www.haiku-os.org"><img src="./images/People_24.png" alt="haiku-os.org" title="Visit The Haiku Website" /></a></div><div class="navighome" title="Home"><a accesskey="h" href="index.html"><img src="./images/navigation/home.png" alt="Home" /></a></div></div><div id="footerBC"><a href="http://www.access-company.com/home.html" title="ACCESS Co."><img alt="Access Company" src="./images/access_logo.png" /></a></div></div></div><div id="licenseFooter"><div id="licenseFooterBL"><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="Creative Commons License"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by-nc-nd/3.0/88x31.png" /></a></div><div id="licenseFooterBR"><a href="./LegalNotice.html">Legal Notice</a></div><div id="licenseFooterBC"><span id="licenseText">This work is licensed under a
|
||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative
|
||
Commons Attribution-Non commercial-No Derivative Works 3.0 License</a>.</span></div></div></body></html>
|