1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>PP_InputEvent_Mouse Struct Reference</h1>
4 <!-- Generated by Doxygen 1.7.6.1 -->
10 <!-- doxytag: class="PP_InputEvent_Mouse" --><h2>
11 Data Fields</h2><table class="memberdecls">
13 <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>
14 <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>
15 <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>
16 <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>
17 <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>
19 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
20 <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>
21 </div><hr /><h2>Field Documentation</h2>
22 <a class="anchor" id="a09969e4a48363691517970cd8b374e84"></a><!-- doxytag: member="PP_InputEvent_Mouse::button" ref="a09969e4a48363691517970cd8b374e84" args="" -->
24 <div class="memproto">
25 <table class="memname">
27 <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>
32 <p>This value represents the button that changed for mouse down or up events. </p>
33 <p>This value will be <code>PP_EVENT_MOUSEBUTTON_NONE</code> for mouse move, enter, and leave events. </p>
36 <a class="anchor" id="ad608b42b29ff4f93f63e7dee287ad1d9"></a><!-- doxytag: member="PP_InputEvent_Mouse::click_count" ref="ad608b42b29ff4f93f63e7dee287ad1d9" args="" -->
38 <div class="memproto">
39 <table class="memname">
41 <td class="memname">int32_t <a class="el" href="struct_p_p___input_event___mouse.html#ad608b42b29ff4f93f63e7dee287ad1d9">PP_InputEvent_Mouse::click_count</a></td>
48 <a class="anchor" id="ade5934096b842e08d4a2b5361efde0ba"></a><!-- doxytag: member="PP_InputEvent_Mouse::modifier" ref="ade5934096b842e08d4a2b5361efde0ba" args="" -->
50 <div class="memproto">
51 <table class="memname">
53 <td class="memname">uint32_t <a class="el" href="struct_p_p___input_event___mouse.html#ade5934096b842e08d4a2b5361efde0ba">PP_InputEvent_Mouse::modifier</a></td>
58 <p>This value is a bit field combination of the <code>PP_InputEvent_Modifier</code> flags. </p>
61 <a class="anchor" id="a12569a7a8bff2107c2a2d67376d26c07"></a><!-- doxytag: member="PP_InputEvent_Mouse::x" ref="a12569a7a8bff2107c2a2d67376d26c07" args="" -->
63 <div class="memproto">
64 <table class="memname">
66 <td class="memname">float <a class="el" href="struct_p_p___input_event___mouse.html#a12569a7a8bff2107c2a2d67376d26c07">PP_InputEvent_Mouse::x</a></td>
71 <p>This values represents the x coordinate of the mouse when the event occurred. </p>
72 <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>
75 <a class="anchor" id="a19be12e2e7b9007209594ce85912b398"></a><!-- doxytag: member="PP_InputEvent_Mouse::y" ref="a19be12e2e7b9007209594ce85912b398" args="" -->
77 <div class="memproto">
78 <table class="memname">
80 <td class="memname">float <a class="el" href="struct_p_p___input_event___mouse.html#a19be12e2e7b9007209594ce85912b398">PP_InputEvent_Mouse::y</a></td>
85 <p>This values represents the y coordinate of the mouse when the event occurred. </p>
86 <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>
89 <hr />The documentation for this struct was generated from the following file:<ul>
90 <li><a class="el" href="pp__input__event_8h.html">pp_input_event.h</a></li>
92 </div><!-- contents -->
93 {{/partials.standard_nacl_article}}