|
Pepper_47_C++_interfaces
|
#include <input_event.h>


Public Member Functions | |
| TouchInputEvent () | |
| Constructs an is_null() touch input event object. More... | |
| TouchInputEvent (const InputEvent &event) | |
| TouchInputEvent (const InstanceHandle &instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers) | |
| void | AddTouchPoint (PP_TouchListType list, PP_TouchPoint point) |
| Adds the touch-point to the specified TouchList. More... | |
| uint32_t | GetTouchCount (PP_TouchListType list) const |
| TouchPoint | GetTouchByIndex (PP_TouchListType list, uint32_t index) const |
| TouchPoint | GetTouchById (PP_TouchListType list, uint32_t id) const |
Public Member Functions inherited from pp::InputEvent | |
| InputEvent () | |
| Default constructor that creates an is_null() InputEvent object. More... | |
| InputEvent (PP_Resource input_event_resource) | |
| ~InputEvent () | |
| PP_InputEvent_Type | GetType () const |
| PP_TimeTicks | GetTimeStamp () const |
| uint32_t | GetModifiers () const |
Public Member Functions inherited from pp::Resource | |
| Resource () | |
| The default constructor. More... | |
| Resource (const Resource &other) | |
| virtual | ~Resource () |
| Destructor. More... | |
| Resource & | operator= (const Resource &other) |
| bool | is_null () const |
| PP_Resource | pp_resource () const |
| PP_Resource | detach () |
Additional Inherited Members | |
Protected Member Functions inherited from pp::Resource | |
| Resource (PP_Resource resource) | |
| Resource (PassRef, PP_Resource resource) | |
| void | PassRefFromConstructor (PP_Resource resource) |
| void | Clear () |
| Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 340 of file input_event.h.
| pp::TouchInputEvent::TouchInputEvent | ( | ) |
Constructs an is_null() touch input event object.
Definition at line 283 of file input_event.cc.
|
explicit |
Constructs a touch input event object from the given generic input event. If the given event is itself is_null() or is not a touch input event, the touch object will be is_null().
Definition at line 286 of file input_event.cc.
References pp::Core::AddRefResource(), pp::Module::core(), pp::Module::Get(), pp::Resource::PassRefFromConstructor(), and pp::Resource::pp_resource().
| pp::TouchInputEvent::TouchInputEvent | ( | const InstanceHandle & | instance, |
| PP_InputEvent_Type | type, | ||
| PP_TimeTicks | time_stamp, | ||
| uint32_t | modifiers | ||
| ) |
Constructs a touch input even from the given parameters.
| [in] | instance | The instance for which this event occurred. |
| [in] | type | A PP_InputEvent_Type identifying the type of input event. |
| [in] | time_stamp | A PP_TimeTicks indicating the time when the event occurred. |
| [in] | modifiers | A bit field combination of the PP_InputEvent_Modifier flags. |
Definition at line 297 of file input_event.cc.
References pp::Resource::PassRefFromConstructor(), and pp::InstanceHandle::pp_instance().
| void pp::TouchInputEvent::AddTouchPoint | ( | PP_TouchListType | list, |
| PP_TouchPoint | point | ||
| ) |
Adds the touch-point to the specified TouchList.
Definition at line 308 of file input_event.cc.
References pp::Resource::pp_resource().
| TouchPoint pp::TouchInputEvent::GetTouchById | ( | PP_TouchListType | list, |
| uint32_t | id | ||
| ) | const |
Definition at line 323 of file input_event.cc.
References pp::Resource::pp_resource().
| TouchPoint pp::TouchInputEvent::GetTouchByIndex | ( | PP_TouchListType | list, |
| uint32_t | index | ||
| ) | const |
Definition at line 331 of file input_event.cc.
References pp::Resource::pp_resource().
| uint32_t pp::TouchInputEvent::GetTouchCount | ( | PP_TouchListType | list | ) | const |
Definition at line 316 of file input_event.cc.
References pp::Resource::pp_resource().
1.8.6