<!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> <title>SFML - Simple and Fast Multimedia Library</title> <meta http-equiv="Content-Type" content="text/html;"/> <meta charset="utf-8"/> <!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>--> <link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> </head> <body> <div id="banner-container"> <div id="banner"> <span id="sfml">SFML 2.5.1</span> </div> </div> <div id="content"> <!-- Generated by Doxygen 1.8.14 --> <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="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>sf</b></li><li class="navelem"><a class="el" href="classsf_1_1Event.html">Event</a></li><li class="navelem"><a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.html">MouseWheelEvent</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-attribs">Public Attributes</a> | <a href="structsf_1_1Event_1_1MouseWheelEvent-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">sf::Event::MouseWheelEvent Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classsf_1_1Mouse.html" title="Give access to the real-time state of the mouse. ">Mouse</a> wheel events parameters (MouseWheelMoved) <a href="structsf_1_1Event_1_1MouseWheelEvent.html#details">More...</a></p> <p><code>#include <<a class="el" href="Event_8hpp_source.html">Event.hpp</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr class="memitem:a4d02b524b5530c7863e7b0f211fa522c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.html#a4d02b524b5530c7863e7b0f211fa522c">delta</a></td></tr> <tr class="memdesc:a4d02b524b5530c7863e7b0f211fa522c"><td class="mdescLeft"> </td><td class="mdescRight">Number of ticks the wheel has moved (positive is up, negative is down) <a href="#a4d02b524b5530c7863e7b0f211fa522c">More...</a><br /></td></tr> <tr class="separator:a4d02b524b5530c7863e7b0f211fa522c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3079803f836ed7208f43b60332ab053e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.html#a3079803f836ed7208f43b60332ab053e">x</a></td></tr> <tr class="memdesc:a3079803f836ed7208f43b60332ab053e"><td class="mdescLeft"> </td><td class="mdescRight">X position of the mouse pointer, relative to the left of the owner window. <a href="#a3079803f836ed7208f43b60332ab053e">More...</a><br /></td></tr> <tr class="separator:a3079803f836ed7208f43b60332ab053e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7ea1b8d8c28e2f530c6e9e6d9a5d32d3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseWheelEvent.html#a7ea1b8d8c28e2f530c6e9e6d9a5d32d3">y</a></td></tr> <tr class="memdesc:a7ea1b8d8c28e2f530c6e9e6d9a5d32d3"><td class="mdescLeft"> </td><td class="mdescRight">Y position of the mouse pointer, relative to the top of the owner window. <a href="#a7ea1b8d8c28e2f530c6e9e6d9a5d32d3">More...</a><br /></td></tr> <tr class="separator:a7ea1b8d8c28e2f530c6e9e6d9a5d32d3"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classsf_1_1Mouse.html" title="Give access to the real-time state of the mouse. ">Mouse</a> wheel events parameters (MouseWheelMoved) </p> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>This event is deprecated and potentially inaccurate. Use <a class="el" href="structsf_1_1Event_1_1MouseWheelScrollEvent.html" title="Mouse wheel events parameters (MouseWheelScrolled) ">MouseWheelScrollEvent</a> instead.</dd></dl> <p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00109">109</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p> </div><h2 class="groupheader">Member Data Documentation</h2> <a id="a4d02b524b5530c7863e7b0f211fa522c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4d02b524b5530c7863e7b0f211fa522c">◆ </a></span>delta</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int sf::Event::MouseWheelEvent::delta</td> </tr> </table> </div><div class="memdoc"> <p>Number of ticks the wheel has moved (positive is up, negative is down) </p> <p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00111">111</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p> </div> </div> <a id="a3079803f836ed7208f43b60332ab053e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3079803f836ed7208f43b60332ab053e">◆ </a></span>x</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int sf::Event::MouseWheelEvent::x</td> </tr> </table> </div><div class="memdoc"> <p>X position of the mouse pointer, relative to the left of the owner window. </p> <p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00112">112</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p> </div> </div> <a id="a7ea1b8d8c28e2f530c6e9e6d9a5d32d3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7ea1b8d8c28e2f530c6e9e6d9a5d32d3">◆ </a></span>y</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int sf::Event::MouseWheelEvent::y</td> </tr> </table> </div><div class="memdoc"> <p>Y position of the mouse pointer, relative to the top of the owner window. </p> <p class="definition">Definition at line <a class="el" href="Event_8hpp_source.html#l00113">113</a> of file <a class="el" href="Event_8hpp_source.html">Event.hpp</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="Event_8hpp_source.html">Event.hpp</a></li> </ul> </div><!-- contents --> </div> <div id="footer-container"> <div id="footer"> SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br> Copyright © Laurent Gomila :: Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> :: </div> </div> </body> </html>