Pepper_37_C_interfaces
Public Attributes | List of all members
PPB_GestureInputEvent_Samsung_0_1 Struct Reference

#include <ppb_gesture_input_event_samsung.h>

Collaboration diagram for PPB_GestureInputEvent_Samsung_0_1:
Collaboration graph

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)
 

Detailed Description

The PPB_GestureInputEvent_Samsung interface allows handling gesture events.

Definition at line 73 of file ppb_gesture_input_event_samsung.h.

Member Data Documentation

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.

Parameters
[in]instanceThe instance for which this event occurred.
[in]typeA PP_InputEvent_Type identifying the type of input event.
[in]time_stampA PP_TimeTicks indicating the time when the event occurred.
[in]modifiersA bit field combination of the PP_InputEvent_Modifier flags.
[in]gesture_typeA PP_Hand_Gesture_Type identifying gesture.
Returns
A 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.

Parameters
[in]gesture_eventA PP_Resource corresponding to a gesture event.
Returns
The gesture type associated with event. This value will be 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.

Parameters
[in]resourceA PP_Resource containing a resource.
Returns
A 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.


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