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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SFML - Simple and Fast Multimedia Library</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="tabs.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="logo">
<img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" />
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.htm"><span>Main Page</span></a></li>
<li><a href="namespaces.htm"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.htm"><span>Classes</span></a></li>
<li><a href="files.htm"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.htm"><span>Class List</span></a></li>
<li><a href="classes.htm"><span>Class Index</span></a></li>
<li><a href="hierarchy.htm"><span>Class Hierarchy</span></a></li>
<li><a href="functions.htm"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>sf</b>::<a class="el" href="classsf_1_1Event.htm">Event</a>
</div>
</div>
<div class="contents">
<h1>sf::Event Class Reference</h1><!-- doxytag: class="sf::Event" --><a class="el" href="classsf_1_1Event.htm" title="Event defines a system event and its parameters.">Event</a> defines a system event and its parameters.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="Event_8hpp-source.htm">Event.hpp</a>></code>
<p>
<p>
<a href="classsf_1_1Event-members.htm">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1JoyButtonEvent.htm">JoyButtonEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Joystick buttons events parameters. <a href="structsf_1_1Event_1_1JoyButtonEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1JoyMoveEvent.htm">JoyMoveEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Joystick axis move event parameters. <a href="structsf_1_1Event_1_1JoyMoveEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1KeyEvent.htm">KeyEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Keyboard event parameters. <a href="structsf_1_1Event_1_1KeyEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm">MouseButtonEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="namespacesf_1_1Mouse.htm" title="Definition of button codes for mouse events.">Mouse</a> buttons events parameters. <a href="structsf_1_1Event_1_1MouseButtonEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseMoveEvent.htm">MouseMoveEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="namespacesf_1_1Mouse.htm" title="Definition of button codes for mouse events.">Mouse</a> move event parameters. <a href="structsf_1_1Event_1_1MouseMoveEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.htm">MouseWheelEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="namespacesf_1_1Mouse.htm" title="Definition of button codes for mouse events.">Mouse</a> wheel events parameters. <a href="structsf_1_1Event_1_1MouseWheelEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1SizeEvent.htm">SizeEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Size events parameters. <a href="structsf_1_1Event_1_1SizeEvent.htm#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1TextEvent.htm">TextEvent</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Text event parameters. <a href="structsf_1_1Event_1_1TextEvent.htm#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Event.htm#f41fa9ed45c02449030699f671331d4a">EventType</a> { <br>
<b>Closed</b>,
<br>
<b>Resized</b>,
<br>
<b>LostFocus</b>,
<br>
<b>GainedFocus</b>,
<br>
<b>TextEntered</b>,
<br>
<b>KeyPressed</b>,
<br>
<b>KeyReleased</b>,
<br>
<b>MouseWheelMoved</b>,
<br>
<b>MouseButtonPressed</b>,
<br>
<b>MouseButtonReleased</b>,
<br>
<b>MouseMoved</b>,
<br>
<b>MouseEntered</b>,
<br>
<b>MouseLeft</b>,
<br>
<b>JoyButtonPressed</b>,
<br>
<b>JoyButtonReleased</b>,
<br>
<b>JoyMoved</b>,
<br>
<b>Count</b>
<br>
}</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enumeration of the different types of events. <a href="classsf_1_1Event.htm#f41fa9ed45c02449030699f671331d4a">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classsf_1_1Event.htm#f41fa9ed45c02449030699f671331d4a">EventType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1Event.htm#90d5da29dd2f49d13dc10e7a402c0b65">Type</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Type of the event. <a href="#90d5da29dd2f49d13dc10e7a402c0b65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="c85e6edc63848641f444ddb19c39ac82"></a><!-- doxytag: member="sf::Event::@3" ref="c85e6edc63848641f444ddb19c39ac82" args="" -->
union {</td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1KeyEvent.htm">KeyEvent</a> <b>Key</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1TextEvent.htm">TextEvent</a> <b>Text</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1MouseMoveEvent.htm">MouseMoveEvent</a> <b>MouseMove</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm">MouseButtonEvent</a> <b>MouseButton</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.htm">MouseWheelEvent</a> <b>MouseWheel</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1JoyMoveEvent.htm">JoyMoveEvent</a> <b>JoyMove</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1JoyButtonEvent.htm">JoyButtonEvent</a> <b>JoyButton</b></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structsf_1_1Event_1_1SizeEvent.htm">SizeEvent</a> <b>Size</b></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classsf_1_1Event.htm" title="Event defines a system event and its parameters.">Event</a> defines a system event and its parameters.
<p>Definition at line <a class="el" href="Event_8hpp-source.htm#l00197">197</a> of file <a class="el" href="Event_8hpp-source.htm">Event.hpp</a>.</p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="f41fa9ed45c02449030699f671331d4a"></a><!-- doxytag: member="sf::Event::EventType" ref="f41fa9ed45c02449030699f671331d4a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classsf_1_1Event.htm#f41fa9ed45c02449030699f671331d4a">sf::Event::EventType</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Enumeration of the different types of events.
<p>
<p>Definition at line <a class="el" href="Event_8hpp-source.htm#l00278">278</a> of file <a class="el" href="Event_8hpp-source.htm">Event.hpp</a>.</p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="90d5da29dd2f49d13dc10e7a402c0b65"></a><!-- doxytag: member="sf::Event::Type" ref="90d5da29dd2f49d13dc10e7a402c0b65" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classsf_1_1Event.htm#f41fa9ed45c02449030699f671331d4a">EventType</a> <a class="el" href="classsf_1_1Event.htm#90d5da29dd2f49d13dc10e7a402c0b65">sf::Event::Type</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Type of the event.
<p>
<p>Definition at line <a class="el" href="Event_8hpp-source.htm#l00303">303</a> of file <a class="el" href="Event_8hpp-source.htm">Event.hpp</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Event_8hpp-source.htm">Event.hpp</a></ul>
</div>
<p id="footer">
:: Copyright © 2007-2008 Laurent Gomila, all rights reserved ::
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> ::
</p>
</body>
</html>
|