| {{+bindTo:partials.standard_nacl_api}} |
| <h1>PP_InputEvent_Mouse Struct Reference</h1> |
| <div id="doxygen-ref"> |
| {{- dummy div to appease doxygen -}} |
| <div> |
| <!-- Generated by Doxygen 1.7.6.1 --> |
| |
| |
| </div> |
| <!--header--> |
| <div class="contents"> |
| <!-- doxytag: class="PP_InputEvent_Mouse" --><h2> |
| Data Fields</h2><table class="memberdecls"> |
| |
| <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___input_event___mouse.html#ade5934096b842e08d4a2b5361efde0ba">modifier</a></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___enums.html#ga25113f3c8d33e863fd38b3f70f8a5e6e">PP_InputEvent_MouseButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___input_event___mouse.html#a09969e4a48363691517970cd8b374e84">button</a></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___input_event___mouse.html#a12569a7a8bff2107c2a2d67376d26c07">x</a></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___input_event___mouse.html#a19be12e2e7b9007209594ce85912b398">y</a></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___input_event___mouse.html#ad608b42b29ff4f93f63e7dee287ad1d9">click_count</a></td></tr> |
| </table> |
| <hr /><a name="details" id="details"></a><h2>Detailed Description</h2> |
| <div class="textblock"><p>The <code><a class="el" href="struct_p_p___input_event___mouse.html" title="The PP_InputEvent_Mouse struct represents all mouse events except mouse wheel events.">PP_InputEvent_Mouse</a></code> struct represents all mouse events except mouse wheel events. </p> |
| </div><hr /><h2>Field Documentation</h2> |
| <a class="anchor" id="a09969e4a48363691517970cd8b374e84"></a><!-- doxytag: member="PP_InputEvent_Mouse::button" ref="a09969e4a48363691517970cd8b374e84" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="group___enums.html#ga25113f3c8d33e863fd38b3f70f8a5e6e">PP_InputEvent_MouseButton</a> <a class="el" href="struct_p_p___input_event___mouse.html#a09969e4a48363691517970cd8b374e84">PP_InputEvent_Mouse::button</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>This value represents the button that changed for mouse down or up events. </p> |
| <p>This value will be <code>PP_EVENT_MOUSEBUTTON_NONE</code> for mouse move, enter, and leave events. </p> |
| </div> |
| </div> |
| <a class="anchor" id="ad608b42b29ff4f93f63e7dee287ad1d9"></a><!-- doxytag: member="PP_InputEvent_Mouse::click_count" ref="ad608b42b29ff4f93f63e7dee287ad1d9" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int32_t <a class="el" href="struct_p_p___input_event___mouse.html#ad608b42b29ff4f93f63e7dee287ad1d9">PP_InputEvent_Mouse::click_count</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| </div> |
| </div> |
| <a class="anchor" id="ade5934096b842e08d4a2b5361efde0ba"></a><!-- doxytag: member="PP_InputEvent_Mouse::modifier" ref="ade5934096b842e08d4a2b5361efde0ba" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">uint32_t <a class="el" href="struct_p_p___input_event___mouse.html#ade5934096b842e08d4a2b5361efde0ba">PP_InputEvent_Mouse::modifier</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>This value is a bit field combination of the <code>PP_InputEvent_Modifier</code> flags. </p> |
| </div> |
| </div> |
| <a class="anchor" id="a12569a7a8bff2107c2a2d67376d26c07"></a><!-- doxytag: member="PP_InputEvent_Mouse::x" ref="a12569a7a8bff2107c2a2d67376d26c07" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float <a class="el" href="struct_p_p___input_event___mouse.html#a12569a7a8bff2107c2a2d67376d26c07">PP_InputEvent_Mouse::x</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>This values represents the x coordinate of the mouse when the event occurred. </p> |
| <p>In most, but not all, cases these coordinates will just be integers. For example, the plugin element might be arbitrarily scaled or transformed in the DOM, and translating a mouse event into the coordinate space of the plugin will give non-integer values. </p> |
| </div> |
| </div> |
| <a class="anchor" id="a19be12e2e7b9007209594ce85912b398"></a><!-- doxytag: member="PP_InputEvent_Mouse::y" ref="a19be12e2e7b9007209594ce85912b398" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float <a class="el" href="struct_p_p___input_event___mouse.html#a19be12e2e7b9007209594ce85912b398">PP_InputEvent_Mouse::y</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>This values represents the y coordinate of the mouse when the event occurred. </p> |
| <p>In most, but not all, cases these coordinates will just be integers. For example, the plugin element might be arbitrarily scaled or transformed in the DOM, and translating a mouse event into the coordinate space of the plugin will give non-integer values. </p> |
| </div> |
| </div> |
| <hr />The documentation for this struct was generated from the following file:<ul> |
| <li><a class="el" href="pp__input__event_8h.html">pp_input_event.h</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div> |
| {{/partials.standard_nacl_api}} |