Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 1427

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!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: csutil/csinput.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&nbsp;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&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>csutil/csinput.h</h1><a href="csutil_2csinput_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    Crystal Space input library</span>
<a name="l00003"></a>00003 <span class="comment">    Copyright (C) 1998,2000 by Jorrit Tyberghein</span>
<a name="l00004"></a>00004 <span class="comment">    Written by Andrew Zabolotny &lt;bit@eltech.ru&gt;</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">    This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment">    modify it under the terms of the GNU Library General Public</span>
<a name="l00008"></a>00008 <span class="comment">    License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment">    version 2 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">    This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment">    Library General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">    You should have received a copy of the GNU Library General Public</span>
<a name="l00017"></a>00017 <span class="comment">    License along with this library; if not, write to the Free</span>
<a name="l00018"></a>00018 <span class="comment">    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef __CS_CSINPUT_H__</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __CS_CSINPUT_H__</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "csextern.h"</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="hash_8h.html" title="A generic hash table.">csutil/hash.h</a>"</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="scf__implementation_8h.html" title="Crystal Space Shared Class Facility (SCF) - implementation creation support.">csutil/scf_implementation.h</a>"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="csstring_8h.html" title="String utility class.">csutil/csstring.h</a>"</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="iutil_2csinput_8h.html" title="Crystal Space input library.">iutil/csinput.h</a>"</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="eventh_8h.html" title="Event handler interface.">iutil/eventh.h</a>"</span>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">struct </span><a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>;
<a name="l00040"></a>00040 <span class="keyword">struct </span><a class="code" href="structiEventQueue.html" title="This interface represents a general event queue.">iEventQueue</a>;
<a name="l00041"></a>00041 <span class="keyword">struct </span><a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>;
<a name="l00042"></a>00042 
<a name="l00046"></a><a class="code" href="classcsInputDriver.html">00046</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="keyword">private</span>:
<a name="l00049"></a>00049   <span class="keywordtype">bool</span> Registered;
<a name="l00050"></a>00050 <span class="keyword">protected</span>:
<a name="l00051"></a><a class="code" href="classcsInputDriver.html#bb7a6bffe319b65f64e7be50e53ac1a7">00051</a>   <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>* Registry;
<a name="l00052"></a><a class="code" href="classcsInputDriver.html#bcad35f9bdc9c824755b1710c7646f54">00052</a>   <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> NameRegistry;
<a name="l00053"></a><a class="code" href="classcsInputDriver.html#b4afcd223a08d94e77a6e3e4f4d83eff">00053</a>   <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>* Listener;
<a name="l00054"></a><a class="code" href="classcsInputDriver.html#4f05f2425e0c3ae6cf7ed7b7afe052d6">00054</a>   <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> FocusChanged;
<a name="l00055"></a><a class="code" href="classcsInputDriver.html#8a9638f6156d279a2395f2a1c1895817">00055</a>   <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> FocusGained;
<a name="l00056"></a><a class="code" href="classcsInputDriver.html#7d185e50605b19a93b4fc774ee47fb50">00056</a>   <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> FocusLost;
<a name="l00057"></a>00057   <a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>(<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*);
<a name="l00058"></a>00058   <span class="keyword">virtual</span> ~<a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>();
<a name="l00059"></a>00059   <a class="code" href="classcsPtr.html" title="A pointer encapsulator.">csPtr&lt;iEventQueue&gt;</a> GetEventQueue();
<a name="l00060"></a>00060   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GainFocus() = 0;
<a name="l00061"></a>00061   <span class="keyword">virtual</span> <span class="keywordtype">void</span> LostFocus() = 0;
<a name="l00062"></a>00062   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Post(<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>*);
<a name="l00063"></a>00063   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> HandleEvent(<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>&amp;);
<a name="l00064"></a><a class="code" href="classcsInputDriver.html#f64ebb823590dd65ab6d57a7d7923b15">00064</a>   <span class="keyword">friend</span> <span class="keyword">struct </span>FocusListener;
<a name="l00065"></a>00065   <span class="keywordtype">void</span> StartListening();
<a name="l00066"></a>00066   <span class="keywordtype">void</span> StopListening();
<a name="l00067"></a>00067 };
<a name="l00068"></a>00068 
<a name="l00069"></a><a class="code" href="classcsKeyComposer.html">00069</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsKeyComposer.html">csKeyComposer</a> : 
<a name="l00070"></a>00070   <span class="keyword">public</span> <a class="code" href="classscfImplementation1.html">scfImplementation1</a>&lt;csKeyComposer, iKeyComposer&gt;
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072 <span class="keyword">protected</span>:
<a name="l00073"></a><a class="code" href="classcsKeyComposer.html#90a4b27441bd1a4b3099a6a75df5c2ba">00073</a>   <a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> lastDead;
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="keyword">public</span>:  
<a name="l00076"></a>00076   <a class="code" href="classcsKeyComposer.html">csKeyComposer</a> ();
<a name="l00077"></a>00077   <span class="keyword">virtual</span> ~<a class="code" href="classcsKeyComposer.html">csKeyComposer</a> ();
<a name="l00078"></a>00078 
<a name="l00079"></a>00079   <span class="keyword">virtual</span> <a class="code" href="group__event__handling.html#g9d08c1b538e925c0b83f3fa3ce0e88ae" title="Results for attempts to process a character key.">csKeyComposeResult</a> HandleKey (<span class="keyword">const</span> <a class="code" href="structcsKeyEventData.html" title="Structure that collects the data a keyboard event carries.">csKeyEventData</a>&amp; keyEventData,
<a name="l00080"></a>00080     <a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a>* buf, <span class="keywordtype">size_t</span> bufChars, <span class="keywordtype">int</span>* resultChars = 0);
<a name="l00081"></a>00081   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ResetState ();
<a name="l00082"></a>00082 };
<a name="l00083"></a>00083 
<a name="l00084"></a>00084 <span class="preprocessor">#ifdef CS_DEBUG</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">  #ifndef CS_KEY_DEBUG_ENABLE</span>
<a name="l00086"></a>00086 <span class="preprocessor"></span>
<a name="l00090"></a>00090 <span class="preprocessor">    #define CS_KEY_DEBUG_ENABLE</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">  #endif</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span>
<a name="l00099"></a><a class="code" href="classcsKeyboardDriver.html">00099</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsKeyboardDriver.html" title="Generic Keyboard Driver.">csKeyboardDriver</a> : <span class="keyword">public</span> <a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>,
<a name="l00100"></a>00100   <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;csKeyboardDriver, iKeyboardDriver, iEventHandler&gt;
<a name="l00101"></a>00101 {
<a name="l00102"></a>00102 <span class="keyword">protected</span>:
<a name="l00104"></a><a class="code" href="classcsKeyboardDriver.html#02a811fd246d7f502936d1585984c454">00104</a>   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;bool, utf32_char&gt;</a> keyStates;
<a name="l00105"></a><a class="code" href="classcsKeyboardDriver.html#f3d6759a22f6fa723effe39204d1aeed">00105</a>   <a class="code" href="struct__csKeyModifiers.html" title="Flags for all currently pressed modifiers.">csKeyModifiers</a> modifiersState;
<a name="l00106"></a><a class="code" href="classcsKeyboardDriver.html#027128e11e5046e9f1184942931f38fc">00106</a>   <span class="keywordtype">bool</span> keyDebug;
<a name="l00107"></a><a class="code" href="classcsKeyboardDriver.html#0807c7a0cbeee1a315d1ff6e56a8d1e1">00107</a>   <span class="keywordtype">bool</span> keyDebugChecked;
<a name="l00108"></a><a class="code" href="classcsKeyboardDriver.html#9ffeaf6c04b51232eedf34f521d0d5ae">00108</a>   <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> KeyboardUp;
<a name="l00109"></a><a class="code" href="classcsKeyboardDriver.html#56848b2df0cdc175fbb0b43154ddc8d8">00109</a>   <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> KeyboardDown;
<a name="l00110"></a>00110 
<a name="l00115"></a>00115   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetKeyState (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeRaw, <span class="keywordtype">bool</span> iDown,
<a name="l00116"></a>00116     <span class="keywordtype">bool</span> autoRepeat);
<a name="l00121"></a>00121   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SynthesizeCooked (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeRaw,
<a name="l00122"></a>00122     <span class="keyword">const</span> <a class="code" href="struct__csKeyModifiers.html" title="Flags for all currently pressed modifiers.">csKeyModifiers</a>&amp; modifiers, <a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a>&amp; codeCooked);
<a name="l00123"></a>00123 
<a name="l00124"></a>00124   <span class="keyword">const</span> <span class="keywordtype">char</span>* GetKeycodeString (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> code);
<a name="l00125"></a>00125   <span class="keywordtype">bool</span> IsKeyboardDebugging ();
<a name="l00126"></a>00126 
<a name="l00128"></a><a class="code" href="classcsKeyboardDriver.html#235df4e5f03300be418e65ca5d054500">00128</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> LostFocus() { Reset(); }
<a name="l00129"></a><a class="code" href="classcsKeyboardDriver.html#5534f15670df4f42e5d2320d07a7f001">00129</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GainFocus() { RestoreKeys(); }
<a name="l00130"></a>00130 
<a name="l00131"></a><a class="code" href="classcsKeyboardDriver.html#ee331e78494c982e174fa8a4516e7426">00131</a>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> HandleEvent (<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>&amp; e)
<a name="l00132"></a>00132   {
<a name="l00133"></a>00133     <span class="keywordflow">return</span> csInputDriver::HandleEvent (e);
<a name="l00134"></a>00134   }
<a name="l00135"></a>00135 <span class="keyword">public</span>:
<a name="l00137"></a>00137   <a class="code" href="classcsKeyboardDriver.html" title="Generic Keyboard Driver.">csKeyboardDriver</a> (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*);
<a name="l00139"></a>00139   <span class="keyword">virtual</span> ~<a class="code" href="classcsKeyboardDriver.html" title="Generic Keyboard Driver.">csKeyboardDriver</a> ();
<a name="l00140"></a>00140 
<a name="l00141"></a>00141   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.inputdriver.keyboard"</span>)
<a name="l00142"></a>00142   <a class="code" href="group__event__handling.html#gfa413bca2b161c7d43cb38f46ec73a7b" title="Macro to create &amp;quot;nil&amp;quot; generic and instance constraints.">CS_EVENTHANDLER_NIL_CONSTRAINTS</a>
<a name="l00143"></a>00143 
<a name="l00145"></a>00145   virtual <span class="keywordtype">void</span> Reset ();
<a name="l00147"></a>00147   virtual <span class="keywordtype">void</span> RestoreKeys ();
<a name="l00148"></a>00148 
<a name="l00159"></a>00159   virtual <span class="keywordtype">void</span> DoKey (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeRaw, <a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeCooked, <span class="keywordtype">bool</span> iDown,
<a name="l00160"></a>00160     <span class="keywordtype">bool</span> autoRepeat = false, <a class="code" href="evdefs_8h.html#01c809d9f3c8b5c7985bc34b611ecdd4" title="Character types.">csKeyCharType</a> charType = <a class="code" href="evdefs_8h.html#a9fe74a26bf5b3c216b2ea7b821d266e0fdbc303da5deae05e46246065d8a979" title="Normal character.">csKeyCharTypeNormal</a>);
<a name="l00161"></a>00161 
<a name="l00166"></a>00166   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> virtual <span class="keywordtype">bool</span> GetKeyState (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeRaw) const;
<a name="l00167"></a>00167 
<a name="l00186"></a>00186   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> virtual <a class="code" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e" title="unsigned 32-bit integer (0..4 294 967 295)">uint32</a> GetModifierState (<a class="code" href="group__util.html#g47e911f87ff568b2779f26cf226f5070" title="A single char in a UTF32 encoded string.">utf32_char</a> codeRaw) const;
<a name="l00187"></a>00187 
<a name="l00188"></a>00188   virtual <a class="code" href="classcsPtr.html" title="A pointer encapsulator.">csPtr</a>&lt;<a class="code" href="structiKeyComposer.html" title="Keyboard input handler.">iKeyComposer</a>&gt; CreateKeyComposer ();
<a name="l00189"></a>00189 
<a name="l00191"></a>00191   virtual <a class="code" href="group__event__handling.html#ge069ae995b63f57fb1732075224dcfee" title="Error codes for event attribute retrieval.">csEventError</a> SynthesizeCooked (<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a> *);
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 };
<a name="l00194"></a>00194 
<a name="l00203"></a><a class="code" href="classcsMouseDriver.html">00203</a> class CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsMouseDriver.html" title="Generic Mouse Driver.">csMouseDriver</a> : public <a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>, 
<a name="l00204"></a>00204   public <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;<a class="code" href="classcsMouseDriver.html" title="Generic Mouse Driver.">csMouseDriver</a>, <a class="code" href="structiMouseDriver.html" title="Generic Mouse Driver.">iMouseDriver</a>, <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>&gt;
<a name="l00205"></a>00205 {
<a name="l00206"></a>00206 <span class="keyword">private</span>:
<a name="l00207"></a>00207   <span class="comment">// Generic keyboard driver (for checking modifier key states).</span>
<a name="l00208"></a>00208   <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iKeyboardDriver&gt;</a> Keyboard;
<a name="l00209"></a>00209 
<a name="l00210"></a>00210   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> HandleEvent (iEvent&amp; e)
<a name="l00211"></a>00211   {
<a name="l00212"></a>00212     <span class="keywordflow">return</span> csInputDriver::HandleEvent (e);
<a name="l00213"></a>00213   }
<a name="l00214"></a>00214 <span class="keyword">protected</span>:
<a name="l00216"></a><a class="code" href="classcsMouseDriver.html#621d4dd8a46869ae1f84f211035b771e">00216</a>   <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> LastClickTime[<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>];
<a name="l00218"></a><a class="code" href="classcsMouseDriver.html#bf60e4cab69d93c0327f7142539ff22e">00218</a>   <span class="keywordtype">int</span> LastClickButton[<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>];
<a name="l00220"></a><a class="code" href="classcsMouseDriver.html#ee628697eaa2d94ef1b82e1c26fd6815">00220</a>   <span class="keywordtype">int</span> LastClick [<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>][<a class="code" href="group__event__handling.html#gd3bd79c3f96e1971ac991487041006fa" title="Maximal number of mouse axes supported.">CS_MAX_MOUSE_AXES</a>];
<a name="l00222"></a><a class="code" href="classcsMouseDriver.html#2b5fde8c7193ec161c7c92c408b77dc4">00222</a>   <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> Last [<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>][<a class="code" href="group__event__handling.html#gd3bd79c3f96e1971ac991487041006fa" title="Maximal number of mouse axes supported.">CS_MAX_MOUSE_AXES</a>];
<a name="l00223"></a><a class="code" href="classcsMouseDriver.html#53cbd847ac0acbfb38f79f0b0e523c30">00223</a>   <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> Axes [<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>];
<a name="l00228"></a><a class="code" href="classcsMouseDriver.html#2c3b5ae8da6d828a0b73546510f5fbcc">00228</a>   <span class="keywordtype">bool</span> Button [<a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>][<a class="code" href="group__event__handling.html#gdc0a336bfcb6acde77fd4a544a8b4f72" title="Maximal number of mouse buttons supported.">CS_MAX_MOUSE_BUTTONS</a>];
<a name="l00230"></a><a class="code" href="classcsMouseDriver.html#99af1f8a94f7ed60ba0da8ff1dd68e1f">00230</a>   <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> DoubleClickTime;
<a name="l00232"></a><a class="code" href="classcsMouseDriver.html#48488e2c4f7b3a65a81455d672bbb980">00232</a>   <span class="keywordtype">size_t</span> DoubleClickDist;
<a name="l00234"></a>00234   <a class="code" href="structiKeyboardDriver.html" title="Generic Keyboard Driver.">iKeyboardDriver</a>* GetKeyboardDriver();
<a name="l00235"></a>00235 
<a name="l00236"></a>00236 <span class="keyword">public</span>:
<a name="l00238"></a>00238   csMouseDriver (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*);
<a name="l00240"></a>00240   <span class="keyword">virtual</span> ~csMouseDriver ();
<a name="l00241"></a>00241 
<a name="l00242"></a>00242   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.inputdriver.mouse"</span>)
<a name="l00243"></a>00243   <a class="code" href="group__event__handling.html#gfa413bca2b161c7d43cb38f46ec73a7b" title="Macro to create &amp;quot;nil&amp;quot; generic and instance constraints.">CS_EVENTHANDLER_NIL_CONSTRAINTS</a>
<a name="l00244"></a>00244 
<a name="l00246"></a>00246   virtual <span class="keywordtype">void</span> SetDoubleClickTime (<span class="keywordtype">int</span> iTime, <span class="keywordtype">size_t</span> iDist);
<a name="l00247"></a>00247 
<a name="l00249"></a>00249   virtual <span class="keywordtype">void</span> Reset ();
<a name="l00250"></a>00250 
<a name="l00252"></a><a class="code" href="classcsMouseDriver.html#cf5d06a12fdfe50d517098beefafbcbb">00252</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> virtual <span class="keywordtype">int</span> GetLastX (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> n)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Last[n][0]; }
<a name="l00254"></a><a class="code" href="classcsMouseDriver.html#9c53aaaeadaa2de9b248e72c8d285ecf">00254</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetLastY (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> n)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Last[n][1]; }
<a name="l00256"></a><a class="code" href="classcsMouseDriver.html#b7a7990e0d0feb07c3d22b3b30162136">00256</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetLast (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> n, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> axis)<span class="keyword"> const</span>
<a name="l00257"></a>00257 <span class="keyword">  </span>{ <span class="keywordflow">return</span> Last[n][axis]; }
<a name="l00259"></a><a class="code" href="classcsMouseDriver.html#4b36ef2a6ec3b9de07c977cbf916aa0d">00259</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *GetLast (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> n)<span class="keyword"> const</span>
<a name="l00260"></a>00260 <span class="keyword">  </span>{ <span class="keywordflow">return</span> Last [n]; }
<a name="l00262"></a><a class="code" href="classcsMouseDriver.html#e8d1c42aeffdb0cfb7807d1bfffbd0e8">00262</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetLastButton (<span class="keywordtype">int</span> button)<span class="keyword"> const</span>
<a name="l00263"></a>00263 <span class="keyword">  </span>{ <span class="keywordflow">return</span> GetLastButton(0, button); }
<a name="l00265"></a><a class="code" href="classcsMouseDriver.html#da153062da1fba28b3c5851ec134d402">00265</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetLastButton (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keywordtype">int</span> button)<span class="keyword"> const</span>
<a name="l00266"></a>00266 <span class="keyword">  </span>{
<a name="l00267"></a>00267     <span class="keywordflow">return</span> (number &lt; <a class="code" href="group__event__handling.html#gbfaa646f38679f20303ebe84eca58519" title="Maximal number of mice supported.">CS_MAX_MOUSE_COUNT</a>
<a name="l00268"></a>00268             &amp;&amp; button &gt;= 0 &amp;&amp; button &lt; <a class="code" href="group__event__handling.html#gdc0a336bfcb6acde77fd4a544a8b4f72" title="Maximal number of mouse buttons supported.">CS_MAX_MOUSE_BUTTONS</a>) ?
<a name="l00269"></a>00269             Button [number][button] : <span class="keyword">false</span>;
<a name="l00270"></a>00270   }
<a name="l00271"></a>00271 
<a name="l00273"></a>00273   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoButton (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keywordtype">int</span> button, <span class="keywordtype">bool</span> down,
<a name="l00274"></a>00274         <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes);
<a name="l00275"></a><a class="code" href="classcsMouseDriver.html#91d3b5b3786e3a70781f1e8c94295edf">00275</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoButton (<span class="keywordtype">int</span> button, <span class="keywordtype">bool</span> down, <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes,
<a name="l00276"></a>00276         <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes) 
<a name="l00277"></a>00277   { DoButton (0, button, down, axes, numAxes); }
<a name="l00278"></a><a class="code" href="classcsMouseDriver.html#66d792b2ee8d1f4b0fc4426fd4bbdf5d">00278</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoButton (<span class="keywordtype">int</span> button, <span class="keywordtype">bool</span> down, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y)
<a name="l00279"></a>00279   { <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> axes[2] = {x, y}; DoButton (0, button, down, axes, 2); }
<a name="l00281"></a>00281   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoMotion (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes);
<a name="l00282"></a><a class="code" href="classcsMouseDriver.html#ff880868c7d50e0c7e6dd6a239b13b9d">00282</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoMotion (<span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes) 
<a name="l00283"></a>00283   { DoMotion (0, axes, numAxes); }
<a name="l00284"></a><a class="code" href="classcsMouseDriver.html#9bb52dd5073e5a764602e04d37a89094">00284</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoMotion (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y)
<a name="l00285"></a>00285   { <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> axes[2] = {x, y}; DoMotion (0, axes, 2); }
<a name="l00287"></a><a class="code" href="classcsMouseDriver.html#f54d5411d3f6a61a6a2d2a9980589977">00287</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> LostFocus() { Reset(); }
<a name="l00288"></a><a class="code" href="classcsMouseDriver.html#8b0da2f1626b1e20169cc0b510ec9d2d">00288</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GainFocus() { }
<a name="l00289"></a>00289 
<a name="l00290"></a>00290 };
<a name="l00291"></a>00291 
<a name="l00292"></a>00292 <span class="preprocessor">#include "<a class="code" href="msvc__deprecated__warn__off_8h.html" title="Disable MSVC deprecated warnings.">csutil/win32/msvc_deprecated_warn_off.h</a>"</span>
<a name="l00293"></a>00293 
<a name="l00300"></a><a class="code" href="classcsJoystickDriver.html">00300</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsJoystickDriver.html" title="Generic Joystick driver.">csJoystickDriver</a> : <span class="keyword">public</span> <a class="code" href="classcsInputDriver.html" title="Superclass of all the generic input drivers.">csInputDriver</a>,
<a name="l00301"></a>00301   <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;csJoystickDriver, iJoystickDriver, iEventHandler&gt;
<a name="l00302"></a>00302 {
<a name="l00303"></a>00303 <span class="keyword">private</span>:
<a name="l00304"></a>00304   <span class="comment">// Generic keyboard driver (for checking modifier key states).</span>
<a name="l00305"></a>00305   <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iKeyboardDriver&gt;</a> Keyboard;
<a name="l00306"></a>00306 
<a name="l00307"></a>00307 <span class="keyword">protected</span>:
<a name="l00312"></a><a class="code" href="classcsJoystickDriver.html#76be5be131476b8b03b955fa37d5a017">00312</a>   <span class="keywordtype">bool</span> Button [<a class="code" href="group__event__handling.html#g38fff06a3305b3802f937abd06098b47" title="Maximal number of joysticks supported.">CS_MAX_JOYSTICK_COUNT</a>][<a class="code" href="group__event__handling.html#g2085e125db1e3d3c36bb8dfcf519cbf9" title="Maximal number of joystick buttons supported.">CS_MAX_JOYSTICK_BUTTONS</a>];
<a name="l00314"></a><a class="code" href="classcsJoystickDriver.html#4d925d7142157c8c095100c5bdfa8411">00314</a>   <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> Last [<a class="code" href="group__event__handling.html#g38fff06a3305b3802f937abd06098b47" title="Maximal number of joysticks supported.">CS_MAX_JOYSTICK_COUNT</a>][<a class="code" href="group__event__handling.html#gcd40b30ac675129008f546cd98226628" title="Maximal number of joystick axes supported.">CS_MAX_JOYSTICK_AXES</a>];
<a name="l00315"></a><a class="code" href="classcsJoystickDriver.html#389b660735c7b97bb7abb0892b40f736">00315</a>   <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> Axes [<a class="code" href="group__event__handling.html#g38fff06a3305b3802f937abd06098b47" title="Maximal number of joysticks supported.">CS_MAX_JOYSTICK_COUNT</a>];
<a name="l00317"></a>00317   <a class="code" href="structiKeyboardDriver.html" title="Generic Keyboard Driver.">iKeyboardDriver</a>* GetKeyboardDriver();
<a name="l00318"></a><a class="code" href="classcsJoystickDriver.html#87783151aa0993c04ac1a4ffbf108564">00318</a>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> HandleEvent (<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>&amp; e)
<a name="l00319"></a>00319   {
<a name="l00320"></a>00320     <span class="keywordflow">return</span> csInputDriver::HandleEvent (e);
<a name="l00321"></a>00321   }
<a name="l00322"></a>00322 <span class="keyword">public</span>:
<a name="l00323"></a>00323 
<a name="l00325"></a>00325   <a class="code" href="classcsJoystickDriver.html" title="Generic Joystick driver.">csJoystickDriver</a> (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*);
<a name="l00327"></a>00327   <span class="keyword">virtual</span> ~<a class="code" href="classcsJoystickDriver.html" title="Generic Joystick driver.">csJoystickDriver</a> ();
<a name="l00328"></a>00328 
<a name="l00329"></a>00329   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.inputdriver.joystick"</span>)
<a name="l00330"></a>00330   <a class="code" href="group__event__handling.html#gfa413bca2b161c7d43cb38f46ec73a7b" title="Macro to create &amp;quot;nil&amp;quot; generic and instance constraints.">CS_EVENTHANDLER_NIL_CONSTRAINTS</a>
<a name="l00331"></a>00331 
<a name="l00333"></a>00333   virtual <span class="keywordtype">void</span> Reset ();
<a name="l00334"></a>00334 
<a name="l00335"></a><a class="code" href="classcsJoystickDriver.html#ceeea898ab3a53d7c30a12b89b8923d3">00335</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> virtual const <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *GetLast (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number)<span class="keyword"> const </span>
<a name="l00336"></a>00336 <span class="keyword">  </span>{ <span class="keywordflow">return</span> Last [number]; }
<a name="l00337"></a><a class="code" href="classcsJoystickDriver.html#58025d87ddfa39daece3b1bafcdcc9f5">00337</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetLast (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> axis)<span class="keyword"> const </span>
<a name="l00338"></a>00338 <span class="keyword">  </span>{ <span class="keywordflow">return</span> Last [number][axis]; }
<a name="l00340"></a><a class="code" href="classcsJoystickDriver.html#ab83764f5d6c3f59f80beca5962a3af2">00340</a>   <a class="code" href="cssysdef_8h.html#b3427ad7a206cd0ebf118b9d40084164" title="Use the CS_PURE_METHOD macro in front of method declarations to indicate that they...">CS_PURE_METHOD</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetLastButton (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keywordtype">int</span> button)<span class="keyword"> const</span>
<a name="l00341"></a>00341 <span class="keyword">  </span>{
<a name="l00342"></a>00342     <span class="keywordflow">return</span> (number &lt; <a class="code" href="group__event__handling.html#g38fff06a3305b3802f937abd06098b47" title="Maximal number of joysticks supported.">CS_MAX_JOYSTICK_COUNT</a>
<a name="l00343"></a>00343          &amp;&amp; button &gt;= 0 &amp;&amp; button &lt; <a class="code" href="group__event__handling.html#g2085e125db1e3d3c36bb8dfcf519cbf9" title="Maximal number of joystick buttons supported.">CS_MAX_JOYSTICK_BUTTONS</a>) ?
<a name="l00344"></a>00344             Button [number][button] : <span class="keyword">false</span>;
<a name="l00345"></a>00345   }
<a name="l00346"></a>00346 
<a name="l00348"></a>00348   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoButton (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keywordtype">int</span> button, <span class="keywordtype">bool</span> down, 
<a name="l00349"></a>00349     <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes);
<a name="l00351"></a>00351   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoMotion (<a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> number, <span class="keyword">const</span> <a class="code" href="group__util.html#g56f1a81c92849566ae864511088eb7e8" title="signed 32-bit integer (-2 147 483 648..2 147 483 647)">int32</a> *axes, <a class="code" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14" title="Shortcut for default unsigned int.">uint</a> numAxes);
<a name="l00352"></a>00352 
<a name="l00354"></a><a class="code" href="classcsJoystickDriver.html#fdc154ce84dbdbfb8b7d380d9186875c">00354</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> LostFocus() { Reset(); }
<a name="l00355"></a><a class="code" href="classcsJoystickDriver.html#c35c3091e9f05d3ef421495dab00e53b">00355</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GainFocus() { }
<a name="l00356"></a>00356 
<a name="l00357"></a>00357 };
<a name="l00358"></a>00358 
<a name="l00359"></a>00359 <span class="preprocessor">#include "<a class="code" href="msvc__deprecated__warn__on_8h.html" title="Re-enable MSVC deprecated warnings.">csutil/win32/msvc_deprecated_warn_on.h</a>"</span>
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 <span class="preprocessor">#endif // __CS_CSINPUT_H__</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>