summaryrefslogtreecommitdiff
path: root/doc/html/_i_cursor_control_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/_i_cursor_control_8h_source.html')
-rw-r--r--doc/html/_i_cursor_control_8h_source.html262
1 files changed, 262 insertions, 0 deletions
diff --git a/doc/html/_i_cursor_control_8h_source.html b/doc/html/_i_cursor_control_8h_source.html
new file mode 100644
index 0000000..cbfe29f
--- /dev/null
+++ b/doc/html/_i_cursor_control_8h_source.html
@@ -0,0 +1,262 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Irrlicht 3D Engine: ICursorControl.h Source File</title>
+
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</script>
+
+</head>
+<body>
+<div id="top"><!-- do not remove this div! -->
+
+
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+
+ <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
+
+
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Irrlicht 3D Engine
+
+ </div>
+
+ </td>
+
+
+
+
+ <td> <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+</td>
+
+
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<!-- Generated by Doxygen 1.7.5.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="dynsections.js"></script>
+</div>
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+ initNavTree('_i_cursor_control_8h.html','');
+</script>
+<div id="doc-content">
+<div class="header">
+ <div class="headertitle">
+<div class="title">ICursorControl.h</div> </div>
+</div>
+<div class="contents">
+<a href="_i_cursor_control_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span>
+<a name="l00002"></a>00002 <span class="comment">// This file is part of the &quot;Irrlicht Engine&quot;.</span>
+<a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span>
+<a name="l00004"></a>00004
+<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_CURSOR_CONTROL_H_INCLUDED__</span>
+<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_CURSOR_CONTROL_H_INCLUDED__</span>
+<a name="l00007"></a>00007 <span class="preprocessor"></span>
+<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_i_reference_counted_8h.html">IReferenceCounted.h</a>&quot;</span>
+<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="position2d_8h.html">position2d.h</a>&quot;</span>
+<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="rect_8h.html">rect.h</a>&quot;</span>
+<a name="l00011"></a>00011
+<a name="l00012"></a>00012 <span class="keyword">namespace </span>irr
+<a name="l00013"></a>00013 {
+<a name="l00014"></a>00014 <span class="keyword">namespace </span>gui
+<a name="l00015"></a>00015 {
+<a name="l00016"></a>00016
+<a name="l00017"></a>00017 <span class="keyword">class </span>IGUISpriteBank;
+<a name="l00018"></a>00018
+<a name="l00020"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b">00020</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b" title="Default icons for cursors.">ECURSOR_ICON</a>
+<a name="l00021"></a>00021 {
+<a name="l00022"></a>00022 <span class="comment">// Following cursors might be system specific, or might use an Irrlicht icon-set. No guarantees so far.</span>
+<a name="l00023"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba035d2ef432b28541c4cae6af7350b724">00023</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba035d2ef432b28541c4cae6af7350b724">ECI_NORMAL</a>, <span class="comment">// arrow</span>
+<a name="l00024"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba06230702d664ff50caa53174fcb8dd93">00024</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba06230702d664ff50caa53174fcb8dd93">ECI_CROSS</a>, <span class="comment">// Crosshair</span>
+<a name="l00025"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba1f6f871650eaf988b74f1528e8729c3c">00025</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba1f6f871650eaf988b74f1528e8729c3c">ECI_HAND</a>, <span class="comment">// Hand</span>
+<a name="l00026"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba4d7bb4ab9874fdebdbadf4ecff4f36ef">00026</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba4d7bb4ab9874fdebdbadf4ecff4f36ef">ECI_HELP</a>, <span class="comment">// Arrow and question mark</span>
+<a name="l00027"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba0adaf77f6f429ed4e29dae84ced95e96">00027</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba0adaf77f6f429ed4e29dae84ced95e96">ECI_IBEAM</a>, <span class="comment">// typical text-selection cursor</span>
+<a name="l00028"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879baea1febebe0d9c605473ee755bfafa211">00028</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879baea1febebe0d9c605473ee755bfafa211">ECI_NO</a>, <span class="comment">// should not click icon</span>
+<a name="l00029"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba21d4e894c80bda844b63e1fa41780440">00029</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba21d4e894c80bda844b63e1fa41780440">ECI_WAIT</a>, <span class="comment">// hourclass</span>
+<a name="l00030"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879baaf52e3fa2104ba7e0ae9d0e047e75d61">00030</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879baaf52e3fa2104ba7e0ae9d0e047e75d61">ECI_SIZEALL</a>, <span class="comment">// arrow in all directions</span>
+<a name="l00031"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba882eca63166fe5ad03178ddb354c25ca">00031</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba882eca63166fe5ad03178ddb354c25ca">ECI_SIZENESW</a>, <span class="comment">// resizes in direction north-east or south-west</span>
+<a name="l00032"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba58ef40d8866aeafff9ed0793db893bb9">00032</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba58ef40d8866aeafff9ed0793db893bb9">ECI_SIZENWSE</a>, <span class="comment">// resizes in direction north-west or south-east</span>
+<a name="l00033"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879bac940331c55aabae19fce31cea8115f9d">00033</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879bac940331c55aabae19fce31cea8115f9d">ECI_SIZENS</a>, <span class="comment">// resizes in direction north or south</span>
+<a name="l00034"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879bae94a0a825a0426f0a0aeda56576f24f8">00034</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879bae94a0a825a0426f0a0aeda56576f24f8">ECI_SIZEWE</a>, <span class="comment">// resizes in direction west or east</span>
+<a name="l00035"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba95458027fde2f320f3bf05b5bcd62694">00035</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba95458027fde2f320f3bf05b5bcd62694">ECI_UP</a>, <span class="comment">// up-arrow</span>
+<a name="l00036"></a>00036
+<a name="l00037"></a>00037 <span class="comment">// Implementer note: Should we add system specific cursors, which use guaranteed the system icons,</span>
+<a name="l00038"></a>00038 <span class="comment">// then I would recommend using a naming scheme like ECI_W32_CROSS, ECI_X11_CROSSHAIR and adding those</span>
+<a name="l00039"></a>00039 <span class="comment">// additionally.</span>
+<a name="l00040"></a>00040
+<a name="l00041"></a><a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba4960196a815443cf827e58ca48232583">00041</a> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba4960196a815443cf827e58ca48232583">ECI_COUNT</a> <span class="comment">// maximal of defined cursors. Note that higher values can be created at runtime</span>
+<a name="l00042"></a>00042 };
+<a name="l00043"></a>00043
+<a name="l00045"></a><a class="code" href="namespaceirr_1_1gui.html#a33bd57d04dbf92750f64a244df85cd51">00045</a> <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1gui.html#a33bd57d04dbf92750f64a244df85cd51" title="Names for ECURSOR_ICON.">GUICursorIconNames</a>[<a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba4960196a815443cf827e58ca48232583">ECI_COUNT</a>+1] =
+<a name="l00046"></a>00046 {
+<a name="l00047"></a>00047 <span class="stringliteral">&quot;normal&quot;</span>,
+<a name="l00048"></a>00048 <span class="stringliteral">&quot;cross&quot;</span>,
+<a name="l00049"></a>00049 <span class="stringliteral">&quot;hand&quot;</span>,
+<a name="l00050"></a>00050 <span class="stringliteral">&quot;help&quot;</span>,
+<a name="l00051"></a>00051 <span class="stringliteral">&quot;ibeam&quot;</span>,
+<a name="l00052"></a>00052 <span class="stringliteral">&quot;no&quot;</span>,
+<a name="l00053"></a>00053 <span class="stringliteral">&quot;wait&quot;</span>,
+<a name="l00054"></a>00054 <span class="stringliteral">&quot;sizeall&quot;</span>,
+<a name="l00055"></a>00055 <span class="stringliteral">&quot;sizenesw&quot;</span>,
+<a name="l00056"></a>00056 <span class="stringliteral">&quot;sizenwse&quot;</span>,
+<a name="l00057"></a>00057 <span class="stringliteral">&quot;sizens&quot;</span>,
+<a name="l00058"></a>00058 <span class="stringliteral">&quot;sizewe&quot;</span>,
+<a name="l00059"></a>00059 <span class="stringliteral">&quot;sizeup&quot;</span>,
+<a name="l00060"></a>00060 0
+<a name="l00061"></a>00061 };
+<a name="l00062"></a>00062
+<a name="l00064"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html">00064</a> <span class="keyword">struct </span><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html" title="structure used to set sprites as cursors.">SCursorSprite</a>
+<a name="l00065"></a>00065 {
+<a name="l00066"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a284c6acfbf07a4d8fea322a2352b8359">00066</a> <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a284c6acfbf07a4d8fea322a2352b8359">SCursorSprite</a>()
+<a name="l00067"></a>00067 : <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a63a820f3a26fe028f01b4a86fa6ecfb8">SpriteBank</a>(0), <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a2cd96bcba94acfed5e5d5bddbf61c649">SpriteId</a>(-1)
+<a name="l00068"></a>00068 {
+<a name="l00069"></a>00069 }
+<a name="l00070"></a>00070
+<a name="l00071"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a0936614593f14066ca1b46c121114067">00071</a> <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a284c6acfbf07a4d8fea322a2352b8359">SCursorSprite</a>( <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html" title="Sprite bank interface.">gui::IGUISpriteBank</a> * spriteBank, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> spriteId, <span class="keyword">const</span> core::position2d&lt;s32&gt; &amp;hotspot=(core::position2d&lt;s32&gt;(0,0)) )
+<a name="l00072"></a>00072 : <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a63a820f3a26fe028f01b4a86fa6ecfb8">SpriteBank</a>(spriteBank), <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a2cd96bcba94acfed5e5d5bddbf61c649">SpriteId</a>(spriteId), <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#af6c0e6670092e2d608aa0e051db43401">HotSpot</a>(hotspot)
+<a name="l00073"></a>00073 {
+<a name="l00074"></a>00074 }
+<a name="l00075"></a>00075
+<a name="l00076"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a63a820f3a26fe028f01b4a86fa6ecfb8">00076</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html" title="Sprite bank interface.">IGUISpriteBank</a> * <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a63a820f3a26fe028f01b4a86fa6ecfb8">SpriteBank</a>;
+<a name="l00077"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a2cd96bcba94acfed5e5d5bddbf61c649">00077</a> <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#a2cd96bcba94acfed5e5d5bddbf61c649">SpriteId</a>;
+<a name="l00078"></a><a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#af6c0e6670092e2d608aa0e051db43401">00078</a> core::position2d&lt;s32&gt; <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html#af6c0e6670092e2d608aa0e051db43401">HotSpot</a>;
+<a name="l00079"></a>00079 };
+<a name="l00080"></a>00080
+<a name="l00082"></a><a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acef">00082</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acef" title="platform specific behavior flags for the cursor">ECURSOR_PLATFORM_BEHAVIOR</a>
+<a name="l00083"></a>00083 {
+<a name="l00085"></a><a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acefaea42899f7236957b21660fd74dda283d">00085</a> <a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acefaea42899f7236957b21660fd74dda283d" title="default - no platform specific behavior">ECPB_NONE</a> = 0,
+<a name="l00086"></a>00086
+<a name="l00088"></a>00088
+<a name="l00093"></a><a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acefa462d7a82478e4b89a31c15fdb20bd16e">00093</a> <a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acefa462d7a82478e4b89a31c15fdb20bd16e" title="On X11 try caching cursor updates as XQueryPointer calls can be expensive.">ECPB_X11_CACHE_UPDATES</a> = 1
+<a name="l00094"></a>00094 };
+<a name="l00095"></a>00095
+<a name="l00097"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html">00097</a> <span class="keyword">class </span><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html" title="Interface to manipulate the mouse cursor.">ICursorControl</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a>
+<a name="l00098"></a>00098 {
+<a name="l00099"></a>00099 <span class="keyword">public</span>:
+<a name="l00100"></a>00100
+<a name="l00102"></a>00102
+<a name="l00104"></a>00104 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#aceb41d68494e2b2076fbc6949b254c74" title="Changes the visible state of the mouse cursor.">setVisible</a>(<span class="keywordtype">bool</span> visible) = 0;
+<a name="l00105"></a>00105
+<a name="l00107"></a>00107
+<a name="l00108"></a>00108 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#ae1d1ca4c1c3042388881fabda4e53a42" title="Returns if the cursor is currently visible.">isVisible</a>() <span class="keyword">const</span> = 0;
+<a name="l00109"></a>00109
+<a name="l00111"></a>00111
+<a name="l00116"></a>00116 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a951b5afe97fa21d98ce5360d96314306" title="Sets the new position of the cursor.">setPosition</a>(<span class="keyword">const</span> core::position2d&lt;f32&gt; &amp;pos) = 0;
+<a name="l00117"></a>00117
+<a name="l00119"></a>00119
+<a name="l00125"></a>00125 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a951b5afe97fa21d98ce5360d96314306" title="Sets the new position of the cursor.">setPosition</a>(<a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y) = 0;
+<a name="l00126"></a>00126
+<a name="l00128"></a>00128
+<a name="l00129"></a>00129 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a951b5afe97fa21d98ce5360d96314306" title="Sets the new position of the cursor.">setPosition</a>(<span class="keyword">const</span> core::position2d&lt;s32&gt; &amp;pos) = 0;
+<a name="l00130"></a>00130
+<a name="l00132"></a>00132
+<a name="l00134"></a>00134 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a951b5afe97fa21d98ce5360d96314306" title="Sets the new position of the cursor.">setPosition</a>(<a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> x, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> y) = 0;
+<a name="l00135"></a>00135
+<a name="l00137"></a>00137
+<a name="l00139"></a>00139 <span class="keyword">virtual</span> <span class="keyword">const</span> core::position2d&lt;s32&gt;&amp; <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a65d9f6e734baa02be69b7e9f5fbdd565" title="Returns the current position of the mouse cursor.">getPosition</a>() = 0;
+<a name="l00140"></a>00140
+<a name="l00142"></a>00142
+<a name="l00146"></a>00146 <span class="keyword">virtual</span> core::position2d&lt;f32&gt; <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a8ba1cb0ff11edc5fb32cdadddece09f8" title="Returns the current position of the mouse cursor.">getRelativePosition</a>() = 0;
+<a name="l00147"></a>00147
+<a name="l00149"></a>00149
+<a name="l00154"></a>00154 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a2a7428ef716a60f8f4b86361a69b8770" title="Sets an absolute reference rect for setting and retrieving the cursor position.">setReferenceRect</a>(<a class="code" href="classirr_1_1core_1_1rect.html">core::rect&lt;s32&gt;</a>* rect=0) = 0;
+<a name="l00155"></a>00155
+<a name="l00156"></a>00156
+<a name="l00158"></a>00158
+<a name="l00159"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#af394700d5279b13cc0f2bcdad679469c">00159</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#af394700d5279b13cc0f2bcdad679469c" title="Sets the active cursor icon.">setActiveIcon</a>(<a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b" title="Default icons for cursors.">ECURSOR_ICON</a> iconId) {}
+<a name="l00160"></a>00160
+<a name="l00162"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a6c08f4adefe397b8054296151f15f2ad">00162</a> <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b" title="Default icons for cursors.">ECURSOR_ICON</a> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a6c08f4adefe397b8054296151f15f2ad" title="Gets the currently active icon.">getActiveIcon</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba035d2ef432b28541c4cae6af7350b724">gui::ECI_NORMAL</a>; }
+<a name="l00163"></a>00163
+<a name="l00165"></a>00165
+<a name="l00166"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a102ff455c70595886281e636ef063d3b">00166</a> <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b" title="Default icons for cursors.">ECURSOR_ICON</a> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a102ff455c70595886281e636ef063d3b" title="Add a custom sprite as cursor icon.">addIcon</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html" title="structure used to set sprites as cursors.">gui::SCursorSprite</a>&amp; icon) { <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879ba035d2ef432b28541c4cae6af7350b724">gui::ECI_NORMAL</a>; }
+<a name="l00167"></a>00167
+<a name="l00169"></a>00169
+<a name="l00173"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a3e7c8cb1f03e1ccc31fcc3c30f717762">00173</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a3e7c8cb1f03e1ccc31fcc3c30f717762" title="replace a cursor icon.">changeIcon</a>(<a class="code" href="namespaceirr_1_1gui.html#aefee802dd632c5735703e40ef40f879b" title="Default icons for cursors.">ECURSOR_ICON</a> iconId, <span class="keyword">const</span> <a class="code" href="structirr_1_1gui_1_1_s_cursor_sprite.html" title="structure used to set sprites as cursors.">gui::SCursorSprite</a>&amp; sprite) {}
+<a name="l00174"></a>00174
+<a name="l00176"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#ad2c301e1c82366520913c270ef8d738c">00176</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1dimension2d.html" title="Specifies a 2 dimensional size.">core::dimension2di</a> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#ad2c301e1c82366520913c270ef8d738c" title="Return a system-specific size which is supported for cursors. Larger icons will fail, smaller icons might work.">getSupportedIconSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#ac79bc3704cf28bc1ab72d7cd1cae78d1" title="Typedef for an integer dimension.">core::dimension2di</a>(0,0); }
+<a name="l00177"></a>00177
+<a name="l00179"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#ad7688bb200945f15877a598e8be53878">00179</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#ad7688bb200945f15877a598e8be53878" title="Set platform specific behavior flags.">setPlatformBehavior</a>(<a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acef" title="platform specific behavior flags for the cursor">ECURSOR_PLATFORM_BEHAVIOR</a> behavior) {}
+<a name="l00180"></a>00180
+<a name="l00182"></a>00182
+<a name="l00184"></a><a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a0d0b11d3d3d5d0adb6e0b0de78edd2a8">00184</a> <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acef" title="platform specific behavior flags for the cursor">ECURSOR_PLATFORM_BEHAVIOR</a> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html#a0d0b11d3d3d5d0adb6e0b0de78edd2a8" title="Return platform specific behavior.">getPlatformBehavior</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1gui.html#abbd186f9cfba2f805d98248df226acefaea42899f7236957b21660fd74dda283d" title="default - no platform specific behavior">ECPB_NONE</a>; }
+<a name="l00185"></a>00185 };
+<a name="l00186"></a>00186
+<a name="l00187"></a>00187
+<a name="l00188"></a>00188 } <span class="comment">// end namespace gui</span>
+<a name="l00189"></a>00189 } <span class="comment">// end namespace irr</span>
+<a name="l00190"></a>00190
+<a name="l00191"></a>00191 <span class="preprocessor">#endif</span>
+<a name="l00192"></a>00192 <span class="preprocessor"></span>
+</pre></div></div>
+</div>
+ <div id="nav-path" class="navpath">
+ <ul>
+ <li class="navelem"><a class="el" href="_i_cursor_control_8h.html">ICursorControl.h</a> </li>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+
+ <li class="footer">
+<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
+Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Fri Mar 12 2021 17:21:45 for Irrlicht 3D Engine by
+<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
+ </ul>
+ </div>
+
+
+</body>
+</html>