evas/gesture: Added gesture_private header file.
This commit is contained in:
parent
b1c6915ab4
commit
a403023242
|
@ -162,7 +162,8 @@ lib/evas/canvas/efl_animation_object_scale_private.h \
|
|||
lib/evas/canvas/efl_animation_object_translate_private.h \
|
||||
lib/evas/canvas/efl_animation_object_group_private.h \
|
||||
lib/evas/canvas/efl_animation_object_group_parallel_private.h \
|
||||
lib/evas/canvas/efl_animation_object_group_sequential_private.h
|
||||
lib/evas/canvas/efl_animation_object_group_sequential_private.h \
|
||||
lib/evas/gesture/efl_gesture_private.h
|
||||
|
||||
# Linebreak
|
||||
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef EFL_GESTURE_PRIVATE_H_
|
||||
#define EFL_GESTURE_PRIVATE_H_
|
||||
|
||||
#include "evas_common_private.h"
|
||||
#include "evas_private.h"
|
||||
#define EFL_INTERNAL_UNSTABLE
|
||||
#include "interfaces/efl_common_internal.h"
|
||||
|
||||
#include <Ecore.h>
|
||||
|
||||
//private gesture classes
|
||||
#include "efl_gesture_recognizer_tap.eo.h"
|
||||
|
||||
typedef struct _Efl_Gesture_Recognizer_Data Efl_Gesture_Recognizer_Data;
|
||||
typedef struct _Efl_Gesture_Data Efl_Gesture_Data;
|
||||
typedef struct _Efl_Gesture_Tap_Data Efl_Gesture_Tap_Data;
|
||||
typedef struct _Efl_Gesture_Long_Tap_Data Efl_Gesture_Long_Tap_Data;
|
||||
|
||||
struct _Efl_Gesture_Recognizer_Data
|
||||
{
|
||||
Eo *manager; // keeps a reference of the manager
|
||||
};
|
||||
|
||||
struct _Efl_Gesture_Data
|
||||
{
|
||||
const Efl_Event_Description *type;
|
||||
Efl_Gesture_State state;
|
||||
Eina_Vector2 hotspot;
|
||||
};
|
||||
|
||||
struct _Efl_Gesture_Tap_Data
|
||||
{
|
||||
Eina_Vector2 pos;
|
||||
};
|
||||
|
||||
struct _Efl_Gesture_Long_Tap_Data
|
||||
{
|
||||
Eina_Vector2 pos;
|
||||
Ecore_Timer *timeout;
|
||||
Eina_Bool is_timeout;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue