summaryrefslogtreecommitdiff
path: root/examples/tilt
diff options
context:
space:
mode:
authorGyörgy Straub <g.straub@partner.samsung.com>2020-08-27 09:28:33 +0100
committerGyörgy Straub <g.straub@partner.samsung.com>2020-08-27 15:28:54 +0100
commite3080a83ec85e14ec8cbf82831fd73b152c6e86a (patch)
treeb7a3a9c5a874f34a833d51060e784982e07565bf /examples/tilt
parent697a682afc7ff5a0078843ec2cb61ac2c00f2e90 (diff)
downloaddali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.tar.gz
dali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.tar.bz2
dali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.zip
Renamed KeyEvent enum values to comply with coding standards.
Change-Id: I1152c0c48795f8972f2b4ee2fc50b0c04140a322 Signed-off-by: György Straub <g.straub@partner.samsung.com>
Diffstat (limited to 'examples/tilt')
-rw-r--r--examples/tilt/tilt-example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tilt/tilt-example.cpp b/examples/tilt/tilt-example.cpp
index c558023c..b7d12f67 100644
--- a/examples/tilt/tilt-example.cpp
+++ b/examples/tilt/tilt-example.cpp
@@ -97,7 +97,7 @@ public:
*/
void OnKeyEvent( const KeyEvent& event )
{
- if( event.GetState() == KeyEvent::Down )
+ if( event.GetState() == KeyEvent::DOWN )
{
if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{