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
Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
events
/
hover-event.h
diff --git
a/dali/public-api/events/hover-event.h
b/dali/public-api/events/hover-event.h
index
ff7d719
..
e5c9f48
100644
(file)
--- a/
dali/public-api/events/hover-event.h
+++ b/
dali/public-api/events/hover-event.h
@@
-18,6
+18,9
@@
*
*/
*
*/
+// EXTERNAL INCLUDES
+#include <cstdint> // uint32_t
+
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/events/touch-point.h>
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/events/touch-point.h>
@@
-82,7
+85,7
@@
struct DALI_CORE_API HoverEvent
* @SINCE_1_0.0
* @return Total number of Points
*/
* @SINCE_1_0.0
* @return Total number of Points
*/
- u
nsigned in
t GetPointCount() const;
+ u
int32_
t GetPointCount() const;
/**
* @brief Returns a touch point at the index requested.
/**
* @brief Returns a touch point at the index requested.
@@
-95,7
+98,7
@@
struct DALI_CORE_API HoverEvent
* @note "point" should be less than the value returned by GetPointCount().
* If out of range, then program asserts.
*/
* @note "point" should be less than the value returned by GetPointCount().
* If out of range, then program asserts.
*/
- const TouchPoint& GetPoint(
unsigned in
t point) const;
+ const TouchPoint& GetPoint(
uint32_
t point) const;
};
/**
};
/**