Inheritance diagram for pp::TouchInputEvent:

Public Member Functions
| TouchInputEvent () | |
| 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) |
| 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 |
Constructor & Destructor Documentation
Constructs an is_null() touch input event object.
| pp::TouchInputEvent::TouchInputEvent | ( | const InputEvent & | event | ) | [explicit] |
| 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.
- Parameters:
[in] instance The instance for which this event occurred. [in] type A PP_InputEvent_Typeidentifying the type of input event.[in] time_stamp A PP_TimeTicksindicating the time when the event occurred.[in] modifiers A bit field combination of the PP_InputEvent_Modifierflags.
Member Function Documentation
| void pp::TouchInputEvent::AddTouchPoint | ( | PP_TouchListType | list, |
| PP_TouchPoint | point | ||
| ) |
Adds the touch-point to the specified TouchList.
| TouchPoint pp::TouchInputEvent::GetTouchById | ( | PP_TouchListType | list, |
| uint32_t | id | ||
| ) | const |
- Returns:
- The TouchPoint in the given list with the given identifier, or an empty TouchPoint if the list does not contain a TouchPoint with that identifier.
| TouchPoint pp::TouchInputEvent::GetTouchByIndex | ( | PP_TouchListType | list, |
| uint32_t | index | ||
| ) | const |
- Returns:
- The TouchPoint at the given index of the given list, or an empty TouchPoint if the index is out of range.
| uint32_t pp::TouchInputEvent::GetTouchCount | ( | PP_TouchListType | list | ) | const |
- Returns:
- The number of TouchPoints in this TouchList.
The documentation for this class was generated from the following file: