X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Ftouch-data.cpp;h=54d9a5e956004c52d86ba47f85c2d1d3490ee9c0;hb=f329cb924a9525c4e268872c993d66fbec822b97;hp=1dcdbd6fd5d8901981842b044d71c9db2864f7cc;hpb=238d3116e435750a6e60c951a07daa7c65411deb;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/touch-data.cpp b/dali/public-api/events/touch-data.cpp old mode 100644 new mode 100755 index 1dcdbd6..54d9a5e --- a/dali/public-api/events/touch-data.cpp +++ b/dali/public-api/events/touch-data.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -20,7 +20,6 @@ // INTERNAL INCLUDES #include -#include #include #include @@ -103,14 +102,19 @@ Degree TouchData::GetAngle( std::size_t point ) const return GetImplementation( *this ).GetAngle( point ); } -DevelDevice::Class::Type DevelTouchData::GetDeviceClass( const TouchData& touch, std::size_t point ) +Device::Class::Type TouchData::GetDeviceClass( std::size_t point ) const { - return GetImplementation( touch ).GetDeviceClass( point ); + return GetImplementation( *this ).GetDeviceClass( point ); } -DevelDevice::Subclass::Type DevelTouchData::GetDeviceSubclass( const TouchData& touch, std::size_t point ) +Device::Subclass::Type TouchData::GetDeviceSubclass( std::size_t point ) const { - return GetImplementation( touch ).GetDeviceSubclass( point ); + return GetImplementation( *this ).GetDeviceSubclass( point ); +} + +MouseButton::Type TouchData::GetMouseButton( std::size_t point ) const +{ + return GetImplementation( *this ).GetMouseButton( point ); } TouchData::TouchData( Internal::TouchData* internal )