1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
|
<!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>Crazy Eddies GUI System: CEGUIInputEvent.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <span id="projectnumber">0.7.6</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CEGUIInputEvent.h</div> </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> filename: CEGUIInputEvent.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 30/5/2004</span>
<a name="l00004"></a>00004 <span class="comment"> author: Paul D Turner</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment"> purpose: Defines interface to input event classes</span>
<a name="l00007"></a>00007 <span class="comment">*************************************************************************/</span>
<a name="l00008"></a>00008 <span class="comment">/***************************************************************************</span>
<a name="l00009"></a>00009 <span class="comment"> * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00012"></a>00012 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00013"></a>00013 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00014"></a>00014 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00015"></a>00015 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00016"></a>00016 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00017"></a>00017 <span class="comment"> * the following conditions:</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00020"></a>00020 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00023"></a>00023 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00024"></a>00024 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00025"></a>00025 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00026"></a>00026 <span class="comment"> * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00027"></a>00027 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00028"></a>00028 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00029"></a>00029 <span class="comment"> ***************************************************************************/</span>
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef _CEGUIInputEvent_h_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIInputEvent_h_</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "CEGUIBase.h"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "CEGUIEventArgs.h"</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "CEGUIString.h"</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "CEGUIVector.h"</span>
<a name="l00037"></a>00037
<a name="l00038"></a>00038
<a name="l00039"></a>00039 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00040"></a>00040 <span class="keyword">namespace </span>CEGUI
<a name="l00041"></a>00041 {
<a name="l00046"></a><a class="code" href="structCEGUI_1_1Key.html">00046</a> <span class="keyword">struct </span>CEGUIEXPORT <a class="code" href="structCEGUI_1_1Key.html" title="struct to give scope to scan code enumeration.">Key</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="comment">// enumeration of scan codes. Customised from table taken from Ogre, which took them from DirectInput...</span>
<a name="l00049"></a>00049 <span class="keyword">enum</span> Scan
<a name="l00050"></a>00050 {
<a name="l00051"></a>00051 Escape =0x01,
<a name="l00052"></a>00052 One =0x02,
<a name="l00053"></a>00053 Two =0x03,
<a name="l00054"></a>00054 Three =0x04,
<a name="l00055"></a>00055 Four =0x05,
<a name="l00056"></a>00056 Five =0x06,
<a name="l00057"></a>00057 Six =0x07,
<a name="l00058"></a>00058 Seven =0x08,
<a name="l00059"></a>00059 Eight =0x09,
<a name="l00060"></a>00060 Nine =0x0A,
<a name="l00061"></a>00061 Zero =0x0B,
<a name="l00062"></a>00062 Minus =0x0C, <span class="comment">/* - on main keyboard */</span>
<a name="l00063"></a>00063 Equals =0x0D,
<a name="l00064"></a>00064 Backspace =0x0E, <span class="comment">/* backspace */</span>
<a name="l00065"></a>00065 Tab =0x0F,
<a name="l00066"></a>00066 Q =0x10,
<a name="l00067"></a>00067 W =0x11,
<a name="l00068"></a>00068 E =0x12,
<a name="l00069"></a>00069 R =0x13,
<a name="l00070"></a>00070 T =0x14,
<a name="l00071"></a>00071 Y =0x15,
<a name="l00072"></a>00072 U =0x16,
<a name="l00073"></a>00073 I =0x17,
<a name="l00074"></a>00074 O =0x18,
<a name="l00075"></a>00075 P =0x19,
<a name="l00076"></a>00076 LeftBracket =0x1A,
<a name="l00077"></a>00077 RightBracket =0x1B,
<a name="l00078"></a>00078 Return =0x1C, <span class="comment">/* Enter on main keyboard */</span>
<a name="l00079"></a>00079 LeftControl =0x1D,
<a name="l00080"></a>00080 A =0x1E,
<a name="l00081"></a>00081 S =0x1F,
<a name="l00082"></a>00082 D =0x20,
<a name="l00083"></a>00083 F =0x21,
<a name="l00084"></a>00084 G =0x22,
<a name="l00085"></a>00085 H =0x23,
<a name="l00086"></a>00086 J =0x24,
<a name="l00087"></a>00087 K =0x25,
<a name="l00088"></a>00088 L =0x26,
<a name="l00089"></a>00089 Semicolon =0x27,
<a name="l00090"></a>00090 Apostrophe =0x28,
<a name="l00091"></a>00091 Grave =0x29, <span class="comment">/* accent grave */</span>
<a name="l00092"></a>00092 LeftShift =0x2A,
<a name="l00093"></a>00093 Backslash =0x2B,
<a name="l00094"></a>00094 Z =0x2C,
<a name="l00095"></a>00095 X =0x2D,
<a name="l00096"></a>00096 C =0x2E,
<a name="l00097"></a>00097 V =0x2F,
<a name="l00098"></a>00098 B =0x30,
<a name="l00099"></a>00099 N =0x31,
<a name="l00100"></a>00100 M =0x32,
<a name="l00101"></a>00101 Comma =0x33,
<a name="l00102"></a>00102 Period =0x34, <span class="comment">/* . on main keyboard */</span>
<a name="l00103"></a>00103 Slash =0x35, <span class="comment">/* '/' on main keyboard */</span>
<a name="l00104"></a>00104 RightShift =0x36,
<a name="l00105"></a>00105 Multiply =0x37, <span class="comment">/* * on numeric keypad */</span>
<a name="l00106"></a>00106 LeftAlt =0x38, <span class="comment">/* left Alt */</span>
<a name="l00107"></a>00107 Space =0x39,
<a name="l00108"></a>00108 Capital =0x3A,
<a name="l00109"></a>00109 F1 =0x3B,
<a name="l00110"></a>00110 F2 =0x3C,
<a name="l00111"></a>00111 F3 =0x3D,
<a name="l00112"></a>00112 F4 =0x3E,
<a name="l00113"></a>00113 F5 =0x3F,
<a name="l00114"></a>00114 F6 =0x40,
<a name="l00115"></a>00115 F7 =0x41,
<a name="l00116"></a>00116 F8 =0x42,
<a name="l00117"></a>00117 F9 =0x43,
<a name="l00118"></a>00118 F10 =0x44,
<a name="l00119"></a>00119 NumLock =0x45,
<a name="l00120"></a>00120 ScrollLock =0x46, <span class="comment">/* Scroll Lock */</span>
<a name="l00121"></a>00121 Numpad7 =0x47,
<a name="l00122"></a>00122 Numpad8 =0x48,
<a name="l00123"></a>00123 Numpad9 =0x49,
<a name="l00124"></a>00124 Subtract =0x4A, <span class="comment">/* - on numeric keypad */</span>
<a name="l00125"></a>00125 Numpad4 =0x4B,
<a name="l00126"></a>00126 Numpad5 =0x4C,
<a name="l00127"></a>00127 Numpad6 =0x4D,
<a name="l00128"></a>00128 Add =0x4E, <span class="comment">/* + on numeric keypad */</span>
<a name="l00129"></a>00129 Numpad1 =0x4F,
<a name="l00130"></a>00130 Numpad2 =0x50,
<a name="l00131"></a>00131 Numpad3 =0x51,
<a name="l00132"></a>00132 Numpad0 =0x52,
<a name="l00133"></a>00133 Decimal =0x53, <span class="comment">/* . on numeric keypad */</span>
<a name="l00134"></a>00134 OEM_102 =0x56, <span class="comment">/* < > | on UK/Germany keyboards */</span>
<a name="l00135"></a>00135 F11 =0x57,
<a name="l00136"></a>00136 F12 =0x58,
<a name="l00137"></a>00137 F13 =0x64, <span class="comment">/* (NEC PC98) */</span>
<a name="l00138"></a>00138 F14 =0x65, <span class="comment">/* (NEC PC98) */</span>
<a name="l00139"></a>00139 F15 =0x66, <span class="comment">/* (NEC PC98) */</span>
<a name="l00140"></a>00140 Kana =0x70, <span class="comment">/* (Japanese keyboard) */</span>
<a name="l00141"></a>00141 ABNT_C1 =0x73, <span class="comment">/* / ? on Portugese (Brazilian) keyboards */</span>
<a name="l00142"></a>00142 Convert =0x79, <span class="comment">/* (Japanese keyboard) */</span>
<a name="l00143"></a>00143 NoConvert =0x7B, <span class="comment">/* (Japanese keyboard) */</span>
<a name="l00144"></a>00144 Yen =0x7D, <span class="comment">/* (Japanese keyboard) */</span>
<a name="l00145"></a>00145 ABNT_C2 =0x7E, <span class="comment">/* Numpad . on Portugese (Brazilian) keyboards */</span>
<a name="l00146"></a>00146 NumpadEquals =0x8D, <span class="comment">/* = on numeric keypad (NEC PC98) */</span>
<a name="l00147"></a>00147 PrevTrack =0x90, <span class="comment">/* Previous Track (KC_CIRCUMFLEX on Japanese keyboard) */</span>
<a name="l00148"></a>00148 At =0x91, <span class="comment">/* (NEC PC98) */</span>
<a name="l00149"></a>00149 Colon =0x92, <span class="comment">/* (NEC PC98) */</span>
<a name="l00150"></a>00150 Underline =0x93, <span class="comment">/* (NEC PC98) */</span>
<a name="l00151"></a>00151 Kanji =0x94, <span class="comment">/* (Japanese keyboard) */</span>
<a name="l00152"></a>00152 Stop =0x95, <span class="comment">/* (NEC PC98) */</span>
<a name="l00153"></a>00153 AX =0x96, <span class="comment">/* (Japan AX) */</span>
<a name="l00154"></a>00154 Unlabeled =0x97, <span class="comment">/* (J3100) */</span>
<a name="l00155"></a>00155 NextTrack =0x99, <span class="comment">/* Next Track */</span>
<a name="l00156"></a>00156 NumpadEnter =0x9C, <span class="comment">/* Enter on numeric keypad */</span>
<a name="l00157"></a>00157 RightControl =0x9D,
<a name="l00158"></a>00158 Mute =0xA0, <span class="comment">/* Mute */</span>
<a name="l00159"></a>00159 Calculator =0xA1, <span class="comment">/* Calculator */</span>
<a name="l00160"></a>00160 PlayPause =0xA2, <span class="comment">/* Play / Pause */</span>
<a name="l00161"></a>00161 MediaStop =0xA4, <span class="comment">/* Media Stop */</span>
<a name="l00162"></a>00162 VolumeDown =0xAE, <span class="comment">/* Volume - */</span>
<a name="l00163"></a>00163 VolumeUp =0xB0, <span class="comment">/* Volume + */</span>
<a name="l00164"></a>00164 WebHome =0xB2, <span class="comment">/* Web home */</span>
<a name="l00165"></a>00165 NumpadComma =0xB3, <span class="comment">/* , on numeric keypad (NEC PC98) */</span>
<a name="l00166"></a>00166 Divide =0xB5, <span class="comment">/* / on numeric keypad */</span>
<a name="l00167"></a>00167 SysRq =0xB7,
<a name="l00168"></a>00168 RightAlt =0xB8, <span class="comment">/* right Alt */</span>
<a name="l00169"></a>00169 Pause =0xC5, <span class="comment">/* Pause */</span>
<a name="l00170"></a>00170 Home =0xC7, <span class="comment">/* Home on arrow keypad */</span>
<a name="l00171"></a>00171 ArrowUp =0xC8, <span class="comment">/* UpArrow on arrow keypad */</span>
<a name="l00172"></a>00172 PageUp =0xC9, <span class="comment">/* PgUp on arrow keypad */</span>
<a name="l00173"></a>00173 ArrowLeft =0xCB, <span class="comment">/* LeftArrow on arrow keypad */</span>
<a name="l00174"></a>00174 ArrowRight =0xCD, <span class="comment">/* RightArrow on arrow keypad */</span>
<a name="l00175"></a>00175 End =0xCF, <span class="comment">/* End on arrow keypad */</span>
<a name="l00176"></a>00176 ArrowDown =0xD0, <span class="comment">/* DownArrow on arrow keypad */</span>
<a name="l00177"></a>00177 PageDown =0xD1, <span class="comment">/* PgDn on arrow keypad */</span>
<a name="l00178"></a>00178 Insert =0xD2, <span class="comment">/* Insert on arrow keypad */</span>
<a name="l00179"></a>00179 Delete =0xD3, <span class="comment">/* Delete on arrow keypad */</span>
<a name="l00180"></a>00180 LeftWindows =0xDB, <span class="comment">/* Left Windows key */</span>
<a name="l00181"></a>00181 RightWindows =0xDC, <span class="comment">/* Right Windows key - Correct spelling :) */</span>
<a name="l00182"></a>00182 AppMenu =0xDD, <span class="comment">/* AppMenu key */</span>
<a name="l00183"></a>00183 Power =0xDE, <span class="comment">/* System Power */</span>
<a name="l00184"></a>00184 Sleep =0xDF, <span class="comment">/* System Sleep */</span>
<a name="l00185"></a>00185 Wake =0xE3, <span class="comment">/* System Wake */</span>
<a name="l00186"></a>00186 WebSearch =0xE5, <span class="comment">/* Web Search */</span>
<a name="l00187"></a>00187 WebFavorites =0xE6, <span class="comment">/* Web Favorites */</span>
<a name="l00188"></a>00188 WebRefresh =0xE7, <span class="comment">/* Web Refresh */</span>
<a name="l00189"></a>00189 WebStop =0xE8, <span class="comment">/* Web Stop */</span>
<a name="l00190"></a>00190 WebForward =0xE9, <span class="comment">/* Web Forward */</span>
<a name="l00191"></a>00191 WebBack =0xEA, <span class="comment">/* Web Back */</span>
<a name="l00192"></a>00192 MyComputer =0xEB, <span class="comment">/* My Computer */</span>
<a name="l00193"></a>00193 Mail =0xEC, <span class="comment">/* Mail */</span>
<a name="l00194"></a>00194 MediaSelect =0xED <span class="comment">/* Media Select */</span>
<a name="l00195"></a>00195 };
<a name="l00196"></a>00196
<a name="l00197"></a>00197 };
<a name="l00198"></a>00198
<a name="l00199"></a>00199
<a name="l00204"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976">00204</a> <span class="keyword">enum</span> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976" title="Enumeration of mouse buttons.">MouseButton</a>
<a name="l00205"></a>00205 {
<a name="l00207"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a87a089c1f7a5bc65f3fe590ed87fd22b">00207</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a87a089c1f7a5bc65f3fe590ed87fd22b" title="The left mouse button.">LeftButton</a>,
<a name="l00209"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a208df6464827d50868802ba3cc614cf7">00209</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a208df6464827d50868802ba3cc614cf7" title="The right mouse button.">RightButton</a>,
<a name="l00211"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a950f683c02eb5a3ce8509869e0aa47d9">00211</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a950f683c02eb5a3ce8509869e0aa47d9" title="The middle mouse button.">MiddleButton</a>,
<a name="l00213"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a6d446c2c07b46b4ea02ada2fb44fd9ff">00213</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a6d446c2c07b46b4ea02ada2fb44fd9ff" title="The first 'extra' mouse button.">X1Button</a>,
<a name="l00215"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a7fca27705cfe21527325d529caf94f2e">00215</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a7fca27705cfe21527325d529caf94f2e" title="The second 'extra' mouse button.">X2Button</a>,
<a name="l00217"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a3b35b89db13e1e2d5ba9adab3f9336b5">00217</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a3b35b89db13e1e2d5ba9adab3f9336b5" title="Value that equals the number of mouse buttons supported by CEGUI.">MouseButtonCount</a>,
<a name="l00219"></a><a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a65fb7d4cbb0783a49b61fcfe86735f3a">00219</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976a65fb7d4cbb0783a49b61fcfe86735f3a" title="Value set for no mouse button. NB: This is not 0, do not assume!">NoButton</a>
<a name="l00220"></a>00220 };
<a name="l00221"></a>00221
<a name="l00222"></a>00222
<a name="l00227"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6">00227</a> <span class="keyword">enum</span> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6" title="System key flag values.">SystemKey</a>
<a name="l00228"></a>00228 {
<a name="l00229"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a7b0b44e8519723d7389e17657b598e65">00229</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a7b0b44e8519723d7389e17657b598e65" title="The left mouse button.">LeftMouse</a> = 0x0001,
<a name="l00230"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a1c8321b1c37c6f7fa1dd743ee13d388f">00230</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a1c8321b1c37c6f7fa1dd743ee13d388f" title="The right mouse button.">RightMouse</a> = 0x0002,
<a name="l00231"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a1b1912d1a35fcba8b92d82504dc87f93">00231</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a1b1912d1a35fcba8b92d82504dc87f93" title="Either shift key.">Shift</a> = 0x0004,
<a name="l00232"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ada8c1936b77d04c5a9a875f4ccbf63c7">00232</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ada8c1936b77d04c5a9a875f4ccbf63c7" title="Either control key.">Control</a> = 0x0008,
<a name="l00233"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ab7ca5da9ab616a0ad3eab391d7e8894a">00233</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ab7ca5da9ab616a0ad3eab391d7e8894a" title="The middle mouse button.">MiddleMouse</a> = 0x0010,
<a name="l00234"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a3e5913c651719c4f18946b80a34792b3">00234</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a3e5913c651719c4f18946b80a34792b3" title="The first 'extra' mouse button.">X1Mouse</a> = 0x0020,
<a name="l00235"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a5b428312f90f66be739dcc4c205c61f4">00235</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6a5b428312f90f66be739dcc4c205c61f4" title="The second 'extra' mouse button.">X2Mouse</a> = 0x0040,
<a name="l00236"></a><a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ac326343edcae768d9eb9ac15157b02ff">00236</a> <a class="code" href="namespaceCEGUI.html#a1e33266d5bc154dce45ac836e0e22ee6ac326343edcae768d9eb9ac15157b02ff" title="Either alt key.">Alt</a> = 0x0080
<a name="l00237"></a>00237 };
<a name="l00238"></a>00238
<a name="l00239"></a>00239
<a name="l00245"></a><a class="code" href="classCEGUI_1_1WindowEventArgs.html">00245</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>
<a name="l00246"></a>00246 {
<a name="l00247"></a>00247 <span class="keyword">public</span>:
<a name="l00248"></a>00248 <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : window(wnd) {}
<a name="l00249"></a>00249
<a name="l00250"></a><a class="code" href="classCEGUI_1_1WindowEventArgs.html#a5817b522882b9648d445a20b8c354966">00250</a> <a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* <a class="code" href="classCEGUI_1_1WindowEventArgs.html#a5817b522882b9648d445a20b8c354966" title="pointer to a Window object of relevance to the event.">window</a>;
<a name="l00251"></a>00251 };
<a name="l00252"></a>00252
<a name="l00257"></a><a class="code" href="classCEGUI_1_1UpdateEventArgs.html">00257</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1UpdateEventArgs.html" title="WindowEventArgs class that is primarily used by lua scripts.">UpdateEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00258"></a>00258 {
<a name="l00259"></a>00259 <span class="keyword">public</span>:
<a name="l00260"></a>00260 <a class="code" href="classCEGUI_1_1UpdateEventArgs.html" title="WindowEventArgs class that is primarily used by lua scripts.">UpdateEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* window, <span class="keywordtype">float</span> tslf) :
<a name="l00261"></a>00261 <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(window),
<a name="l00262"></a>00262 d_timeSinceLastFrame(tslf)
<a name="l00263"></a>00263 {}
<a name="l00264"></a>00264
<a name="l00265"></a><a class="code" href="classCEGUI_1_1UpdateEventArgs.html#a181e33bcb7021a4be384a9a7e9144a61">00265</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1UpdateEventArgs.html#a181e33bcb7021a4be384a9a7e9144a61" title="Time since the last frame update.">d_timeSinceLastFrame</a>;
<a name="l00266"></a>00266 };
<a name="l00267"></a>00267
<a name="l00268"></a>00268
<a name="l00274"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html">00274</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00275"></a>00275 {
<a name="l00276"></a>00276 <span class="keyword">public</span>:
<a name="l00277"></a>00277 <a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(wnd) {}
<a name="l00278"></a>00278
<a name="l00279"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#a18347427458581ef70e9b10d3750b89e">00279</a> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Point</a> <a class="code" href="classCEGUI_1_1MouseEventArgs.html#a18347427458581ef70e9b10d3750b89e" title="holds current mouse position.">position</a>;
<a name="l00280"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#af25b9eec1ec347a8283c2c99371f9d1c">00280</a> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Vector2</a> <a class="code" href="classCEGUI_1_1MouseEventArgs.html#af25b9eec1ec347a8283c2c99371f9d1c" title="holds variation of mouse position from last mouse input">moveDelta</a>;
<a name="l00281"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#a1e773bf82b408fe454374ed2e6cf19ef">00281</a> <a class="code" href="namespaceCEGUI.html#aa445483fd17f02e7d119e9be540a4976" title="Enumeration of mouse buttons.">MouseButton</a> <a class="code" href="classCEGUI_1_1MouseEventArgs.html#a1e773bf82b408fe454374ed2e6cf19ef" title="one of the MouseButton enumerated values describing the mouse button causing the event (for button in...">button</a>;
<a name="l00282"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#ad8cefdb73ab42c57e279b7ee4db356ee">00282</a> uint <a class="code" href="classCEGUI_1_1MouseEventArgs.html#ad8cefdb73ab42c57e279b7ee4db356ee" title="current state of the system keys and mouse buttons.">sysKeys</a>;
<a name="l00283"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#a2640ddda05541aad912d9313aa17623c">00283</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1MouseEventArgs.html#a2640ddda05541aad912d9313aa17623c" title="Holds the amount the scroll wheel has changed.">wheelChange</a>;
<a name="l00284"></a><a class="code" href="classCEGUI_1_1MouseEventArgs.html#aa6488c2e0e17ed4325e3601b4de8eaf2">00284</a> uint <a class="code" href="classCEGUI_1_1MouseEventArgs.html#aa6488c2e0e17ed4325e3601b4de8eaf2" title="Holds number of mouse button down events currently counted in a multi-click sequence (for button inpu...">clickCount</a>;
<a name="l00285"></a>00285 };
<a name="l00286"></a>00286
<a name="l00287"></a>00287
<a name="l00293"></a><a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html">00293</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse cursor...">MouseCursorEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>
<a name="l00294"></a>00294 {
<a name="l00295"></a>00295 <span class="keyword">public</span>:
<a name="l00296"></a>00296 <a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse cursor...">MouseCursorEventArgs</a>(<a class="code" href="classCEGUI_1_1MouseCursor.html" title="Class that allows access to the GUI system mouse cursor.">MouseCursor</a>* cursor) : mouseCursor(cursor) {}
<a name="l00297"></a>00297
<a name="l00298"></a><a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html#ae0a4ad6867afb41a634e28dd80db361a">00298</a> <a class="code" href="classCEGUI_1_1MouseCursor.html" title="Class that allows access to the GUI system mouse cursor.">MouseCursor</a>* <a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html#ae0a4ad6867afb41a634e28dd80db361a" title="pointer to a MouseCursor object of relevance to the event.">mouseCursor</a>;
<a name="l00299"></a><a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html#a31d17dd3174973b0bdf7a5457b28e67b">00299</a> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Image.html" title="Class that represents a single Image of an Imageset.">Image</a>* <a class="code" href="classCEGUI_1_1MouseCursorEventArgs.html#a31d17dd3174973b0bdf7a5457b28e67b" title="pointer to an Image object of relevance to the event.">image</a>;
<a name="l00300"></a>00300 };
<a name="l00301"></a>00301
<a name="l00302"></a>00302
<a name="l00308"></a><a class="code" href="classCEGUI_1_1KeyEventArgs.html">00308</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1KeyEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning keyboard inp...">KeyEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00309"></a>00309 {
<a name="l00310"></a>00310 <span class="keyword">public</span>:
<a name="l00311"></a>00311 <a class="code" href="classCEGUI_1_1KeyEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning keyboard inp...">KeyEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(wnd) {}
<a name="l00312"></a>00312
<a name="l00313"></a><a class="code" href="classCEGUI_1_1KeyEventArgs.html#addd27ee9168f6a13846e5feff351df43">00313</a> utf32 <a class="code" href="classCEGUI_1_1KeyEventArgs.html#addd27ee9168f6a13846e5feff351df43" title="utf32 codepoint for the key (only used for Character inputs).">codepoint</a>;
<a name="l00314"></a><a class="code" href="classCEGUI_1_1KeyEventArgs.html#ac97921d105ce247044789aeb8a53f7ec">00314</a> Key::Scan <a class="code" href="classCEGUI_1_1KeyEventArgs.html#ac97921d105ce247044789aeb8a53f7ec" title="Scan code of key that caused event (only used for key up & down inputs.">scancode</a>;
<a name="l00315"></a><a class="code" href="classCEGUI_1_1KeyEventArgs.html#ab9f6da48a65a4ebaba65e9034ce19d52">00315</a> uint <a class="code" href="classCEGUI_1_1KeyEventArgs.html#ab9f6da48a65a4ebaba65e9034ce19d52" title="current state of the system keys and mouse buttons.">sysKeys</a>;
<a name="l00316"></a>00316 };
<a name="l00317"></a>00317
<a name="l00318"></a>00318
<a name="l00323"></a><a class="code" href="classCEGUI_1_1ActivationEventArgs.html">00323</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ActivationEventArgs.html" title="EventArgs based class that is used for Activated and Deactivated window events.">ActivationEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00324"></a>00324 {
<a name="l00325"></a>00325 <span class="keyword">public</span>:
<a name="l00326"></a>00326 <a class="code" href="classCEGUI_1_1ActivationEventArgs.html" title="EventArgs based class that is used for Activated and Deactivated window events.">ActivationEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(wnd) {}
<a name="l00327"></a>00327
<a name="l00328"></a><a class="code" href="classCEGUI_1_1ActivationEventArgs.html#a4752a83ec8bc3e4447e66aafd792365c">00328</a> <a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* <a class="code" href="classCEGUI_1_1ActivationEventArgs.html#a4752a83ec8bc3e4447e66aafd792365c" title="Pointer to the other window involved in the activation change.">otherWindow</a>;
<a name="l00329"></a>00329 };
<a name="l00330"></a>00330
<a name="l00335"></a><a class="code" href="classCEGUI_1_1DragDropEventArgs.html">00335</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1DragDropEventArgs.html" title="EventArgs based class used for certain drag/drop notifications.">DragDropEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00336"></a>00336 {
<a name="l00337"></a>00337 <span class="keyword">public</span>:
<a name="l00338"></a>00338 <a class="code" href="classCEGUI_1_1DragDropEventArgs.html" title="EventArgs based class used for certain drag/drop notifications.">DragDropEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(wnd) {}
<a name="l00339"></a>00339 <a class="code" href="classCEGUI_1_1DragContainer.html" title="Generic drag & drop enabled window class.">DragContainer</a>* dragDropItem; <span class="comment">//<! pointer to the DragContainer window being dragged / dropped.</span>
<a name="l00340"></a>00340 };
<a name="l00341"></a>00341
<a name="l00347"></a><a class="code" href="classCEGUI_1_1DisplayEventArgs.html">00347</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1DisplayEventArgs.html" title="EventArgs based class that is used for notifications regarding the main display.">DisplayEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>
<a name="l00348"></a>00348 {
<a name="l00349"></a>00349 <span class="keyword">public</span>:
<a name="l00350"></a>00350 <a class="code" href="classCEGUI_1_1DisplayEventArgs.html" title="EventArgs based class that is used for notifications regarding the main display.">DisplayEventArgs</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a>& sz) : size(sz) {}
<a name="l00351"></a>00351
<a name="l00353"></a><a class="code" href="classCEGUI_1_1DisplayEventArgs.html#a1cd63409518849179ec97a9cdbe92760">00353</a> <a class="code" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a> <a class="code" href="classCEGUI_1_1DisplayEventArgs.html#a1cd63409518849179ec97a9cdbe92760" title="current / new size of the display.">size</a>;
<a name="l00354"></a>00354 };
<a name="l00355"></a>00355
<a name="l00357"></a><a class="code" href="classCEGUI_1_1ResourceEventArgs.html">00357</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ResourceEventArgs.html" title="EventArgs based class that is used for notifications regarding resources.">ResourceEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>
<a name="l00358"></a>00358 {
<a name="l00359"></a>00359 <span class="keyword">public</span>:
<a name="l00360"></a>00360 <a class="code" href="classCEGUI_1_1ResourceEventArgs.html" title="EventArgs based class that is used for notifications regarding resources.">ResourceEventArgs</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& type, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name) :
<a name="l00361"></a>00361 resourceType(type),
<a name="l00362"></a>00362 resourceName(name)
<a name="l00363"></a>00363 {}
<a name="l00364"></a>00364
<a name="l00366"></a><a class="code" href="classCEGUI_1_1ResourceEventArgs.html#af0ae3ab0e719a9395ad6a9454d9360b9">00366</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ResourceEventArgs.html#af0ae3ab0e719a9395ad6a9454d9360b9" title="String identifying the resource type this notification is about.">resourceType</a>;
<a name="l00368"></a><a class="code" href="classCEGUI_1_1ResourceEventArgs.html#a58fc86d7d29178075db2ecac0785ad64">00368</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ResourceEventArgs.html#a58fc86d7d29178075db2ecac0785ad64" title="String identifying the name of the resource this notification is about.">resourceName</a>;
<a name="l00369"></a>00369 };
<a name="l00370"></a>00370
<a name="l00371"></a>00371
<a name="l00372"></a>00372 } <span class="comment">// End of CEGUI namespace section</span>
<a name="l00373"></a>00373
<a name="l00374"></a>00374
<a name="l00375"></a>00375 <span class="preprocessor">#endif // end of guard _CEGUIInputEvent_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:39 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|