sfmlinstaller

sfmlinstaller Mercurial Source Tree


Root/windows/doc/html/structsf_1_1Event_1_1MouseButtonEvent.htm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
        <title>SFML - Simple and Fast Multimedia Library</title>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
        <!--<link rel='stylesheet' type='text/css' href="http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
        <link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
    </head>
    <body>
        <div id="banner-container">
            <div id="banner">
                <span id="sfml">SFML</span>
            </div>
        </div>
        <div id="content">
<!-- Generated by Doxygen 1.8.2 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.htm"><span>Main Page</span></a></li>
      <li><a href="modules.htm"><span>Modules</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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>sf</b></li><li class="navelem"><a class="el" href="classsf_1_1Event.htm">Event</a></li><li class="navelem"><a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm">MouseButtonEvent</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_1MouseButtonEvent-members.htm">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sf::Event::MouseButtonEvent Struct Reference<div class="ingroups"><a class="el" href="group__window.htm">Window module</a></div></div>  </div>
</div><!--header-->
<div class="contents">
 
<p><a class="el" href="classsf_1_1Mouse.htm" title="Give access to the real-time state of the mouse.">Mouse</a> buttons events parameters (MouseButtonPressed, MouseButtonReleased) 
 <a href="structsf_1_1Event_1_1MouseButtonEvent.htm#details">More...</a></p>
 
<p><code>#include <<a class="el" href="Event_8hpp_source.htm">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:a5f53725aa7b647705486eeb95f723024"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsf_1_1Mouse.htm#a4fb128be433f9aafe66bc0c605daaa90">Mouse::Button</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm#a5f53725aa7b647705486eeb95f723024">button</a></td></tr>
<tr class="memdesc:a5f53725aa7b647705486eeb95f723024"><td class="mdescLeft"> </td><td class="mdescRight">Code of the button that has been pressed.  <a href="#a5f53725aa7b647705486eeb95f723024"></a><br/></td></tr>
<tr class="separator:a5f53725aa7b647705486eeb95f723024"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49b937b311729174950787781aafcdc7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm#a49b937b311729174950787781aafcdc7">x</a></td></tr>
<tr class="memdesc:a49b937b311729174950787781aafcdc7"><td class="mdescLeft"> </td><td class="mdescRight">X position of the mouse pointer, relative to the left of the owner window.  <a href="#a49b937b311729174950787781aafcdc7"></a><br/></td></tr>
<tr class="separator:a49b937b311729174950787781aafcdc7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae4735071868d4411d1782bf67619d64"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf_1_1Event_1_1MouseButtonEvent.htm#aae4735071868d4411d1782bf67619d64">y</a></td></tr>
<tr class="memdesc:aae4735071868d4411d1782bf67619d64"><td class="mdescLeft"> </td><td class="mdescRight">Y position of the mouse pointer, relative to the top of the owner window.  <a href="#aae4735071868d4411d1782bf67619d64"></a><br/></td></tr>
<tr class="separator:aae4735071868d4411d1782bf67619d64"><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.htm" title="Give access to the real-time state of the mouse.">Mouse</a> buttons events parameters (MouseButtonPressed, MouseButtonReleased) </p>
 
<p>Definition at line <a class="el" href="Event_8hpp_source.htm#l00094">94</a> of file <a class="el" href="Event_8hpp_source.htm">Event.hpp</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a5f53725aa7b647705486eeb95f723024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsf_1_1Mouse.htm#a4fb128be433f9aafe66bc0c605daaa90">Mouse::Button</a> sf::Event::MouseButtonEvent::button</td>
        </tr>
      </table>
</div><div class="memdoc">
 
<p>Code of the button that has been pressed. </p>
 
<p>Definition at line <a class="el" href="Event_8hpp_source.htm#l00096">96</a> of file <a class="el" href="Event_8hpp_source.htm">Event.hpp</a>.</p>
 
</div>
</div>
<a class="anchor" id="a49b937b311729174950787781aafcdc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sf::Event::MouseButtonEvent::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>Definition at line <a class="el" href="Event_8hpp_source.htm#l00097">97</a> of file <a class="el" href="Event_8hpp_source.htm">Event.hpp</a>.</p>
 
</div>
</div>
<a class="anchor" id="aae4735071868d4411d1782bf67619d64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sf::Event::MouseButtonEvent::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>Definition at line <a class="el" href="Event_8hpp_source.htm#l00098">98</a> of file <a class="el" href="Event_8hpp_source.htm">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.htm">Event.hpp</a></li>
</ul>
</div><!-- contents -->
        </div>
        <div id="footer-container">
            <div id="footer">
                Copyright � Laurent Gomila  :: 
                Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a>  :: 
            </div>
        </div>
    <script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
  ga('create', 'UA-41898676-1', 'srchub.org');
  ga('send', 'pageview');
Page rendered in 0.78468s using 11 queries.
Source at commit tip created 11 years 11 months ago.
By Nathan Adams, Initial commit

Archive Download this file

Branches

Tags

Page rendered in 0.78468s using 11 queries.