Pepper_31_C_interfaces
Public Attributes | List of all members
PP_InputEvent_Mouse Struct Reference

#include <pp_input_event.h>

Collaboration diagram for PP_InputEvent_Mouse:
Collaboration graph

Public Attributes

uint32_t modifier
 
PP_InputEvent_MouseButton button
 
float x
 
float y
 
int32_t click_count
 

Detailed Description

The PP_InputEvent_Mouse struct represents all mouse events except mouse wheel events.

Definition at line 92 of file pp_input_event.h.

Member Data Documentation

PP_InputEvent_MouseButton PP_InputEvent_Mouse::button

This value represents the button that changed for mouse down or up events. This value will be PP_EVENT_MOUSEBUTTON_NONE for mouse move, enter, and leave events.

Definition at line 103 of file pp_input_event.h.

int32_t PP_InputEvent_Mouse::click_count

Definition at line 125 of file pp_input_event.h.

uint32_t PP_InputEvent_Mouse::modifier

This value is a bit field combination of the PP_InputEvent_Modifier flags.

Definition at line 97 of file pp_input_event.h.

float PP_InputEvent_Mouse::x

This values represents the x coordinate of the mouse when the event occurred.

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.

Definition at line 113 of file pp_input_event.h.

float PP_InputEvent_Mouse::y

This values represents the y coordinate of the mouse when the event occurred.

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.

Definition at line 123 of file pp_input_event.h.


The documentation for this struct was generated from the following file: