projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Not execute the remove callback
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
event
/
events
/
gesture-event.h
diff --git
a/dali/internal/event/events/gesture-event.h
b/dali/internal/event/events/gesture-event.h
index
8d3e0a3
..
d803dcf
100644
(file)
--- a/
dali/internal/event/events/gesture-event.h
+++ b/
dali/internal/event/events/gesture-event.h
@@
-2,7
+2,7
@@
#define DALI_INTERNAL_EVENT_GESTURE_EVENT_H
/*
#define DALI_INTERNAL_EVENT_GESTURE_EVENT_H
/*
- * Copyright (c) 20
19
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
22
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-19,15
+19,13
@@
*/
// INTERNAL INCLUDES
*/
// INTERNAL INCLUDES
-#include <dali/public-api/events/gesture.h>
#include <dali/integration-api/events/event.h>
#include <dali/integration-api/events/event.h>
+#include <dali/internal/event/events/gesture-impl.h>
namespace Dali
{
namespace Dali
{
-
namespace Internal
{
namespace Internal
{
-
/**
* This is the abstract base structure for any gestures that the adaptor detects and wishes to send
* to the Core.
/**
* This is the abstract base structure for any gestures that the adaptor detects and wishes to send
* to the Core.
@@
-46,26
+44,35
@@
struct GestureEvent
/**
* Gesture Type.
*/
/**
* Gesture Type.
*/
- Gesture
::Typ
e gestureType;
+ Gesture
Type::Valu
e gestureType;
/**
* The state of the gesture.
*/
/**
* The state of the gesture.
*/
- Gesture
::
State state;
+ GestureState state;
/**
* The time the gesture took place.
*/
uint32_t time;
/**
* The time the gesture took place.
*/
uint32_t time;
-protected: // Constructors only to be used by derived structures.
+ /**
+ * This is the value of which source the gesture was started with. (ex : mouse)
+ */
+ GestureSourceType sourceType;
+
+ /**
+ * The data of the source type.
+ */
+ GestureSourceData sourceData;
+protected: // Constructors only to be used by derived structures.
/**
* This constructor is only used by derived classes.
* @param[in] gesture The type of gesture event.
* @param[in] gestureState The state of the gesture event.
*/
/**
* This constructor is only used by derived classes.
* @param[in] gesture The type of gesture event.
* @param[in] gestureState The state of the gesture event.
*/
- GestureEvent(Gesture
::Type gesture, Gesture::
State gestureState);
+ GestureEvent(Gesture
Type::Value gesture, Gesture
State gestureState);
};
} // namespace Internal
};
} // namespace Internal