Pepper_37_C_interfaces
|
#include <ppb_gesture_input_event_samsung.h>
Public Attributes | |
PP_Resource(* | Create )(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_Gesture_Type gesture_type) |
PP_Bool(* | IsGestureInputEvent )(PP_Resource resource) |
PP_Gesture_Type(* | GetGestureType )(PP_Resource gesture_event) |
The PPB_GestureInputEvent_Samsung
interface allows handling gesture events.
Definition at line 73 of file ppb_gesture_input_event_samsung.h.
PP_Resource(* PPB_GestureInputEvent_Samsung_0_1::Create)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_Gesture_Type gesture_type) |
Creates a hand gesture input event. Normally you will get a hand gesture event passed through the HandleInputEvent
and will not need to create them, but some applications may want to create their own for internal use. The type must be one of the gesture event types.
[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. |
[in] | gesture_type | A PP_Hand_Gesture_Type identifying gesture. |
PP_Resource
corresponding to a hand gesture input event if successful, 0 if failed. Definition at line 98 of file ppb_gesture_input_event_samsung.h.
PP_Gesture_Type(* PPB_GestureInputEvent_Samsung_0_1::GetGestureType)(PP_Resource gesture_event) |
GetGestureType() returns the type of generated gesture event.
[in] | gesture_event | A PP_Resource corresponding to a gesture event. |
PP_GESTURETYPE_INVALID
for all non-gesture events. Definition at line 122 of file ppb_gesture_input_event_samsung.h.
PP_Bool(* PPB_GestureInputEvent_Samsung_0_1::IsGestureInputEvent)(PP_Resource resource) |
Determines if the given resource is a gesture event.
[in] | resource | A PP_Resource containing a resource. |
PP_Bool
containing PP_TRUE
if the given resource is a gesture event, otherwise PP_FALSE
. Definition at line 111 of file ppb_gesture_input_event_samsung.h.