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
/
wheel-event.cpp
diff --git
a/dali/public-api/events/wheel-event.cpp
b/dali/public-api/events/wheel-event.cpp
index
5bbb271
..
7494ef0
100644
(file)
--- a/
dali/public-api/events/wheel-event.cpp
+++ b/
dali/public-api/events/wheel-event.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
5
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
8
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.
@@
-23,9
+23,9
@@
namespace Dali
namespace
{
namespace
{
-const u
nsigned in
t MODIFIER_SHIFT = 0x1;
-const u
nsigned in
t MODIFIER_CTRL = 0x2;
-const u
nsigned in
t MODIFIER_ALT = 0x4;
+const u
int32_
t MODIFIER_SHIFT = 0x1;
+const u
int32_
t MODIFIER_CTRL = 0x2;
+const u
int32_
t MODIFIER_ALT = 0x4;
}
}
@@
-39,7
+39,7
@@
WheelEvent::WheelEvent()
{
}
{
}
-WheelEvent::WheelEvent( Type type, int
direction, unsigned int modifiers, Vector2 point, int z, unsigned in
t timeStamp )
+WheelEvent::WheelEvent( Type type, int
32_t direction, uint32_t modifiers, Vector2 point, int32_t z, uint32_
t timeStamp )
: type( type ),
direction( direction ),
modifiers( modifiers ),
: type( type ),
direction( direction ),
modifiers( modifiers ),