Move TouchPoint to Devel API
[platform/core/uifw/dali-core.git] / dali / integration-api / events / point.cpp
index 2349f02..ee61baf 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -26,7 +26,7 @@ namespace Integration
 {
 
 Point::Point()
-: mTouchPoint( 0, TouchPoint::Started, 0.0f, 0.0f ),
+: mTouchPoint( 0, PointState::STARTED, 0.0f, 0.0f ),
   mEllipseRadius(),
   mAngle( 0.0f ),
   mDeviceClass( Device::Class::NONE ),
@@ -60,7 +60,7 @@ void Point::SetDeviceId( int32_t deviceId )
 
 void Point::SetState( PointState::Type state )
 {
-  mTouchPoint.state = static_cast< TouchPoint::State >( state );
+  mTouchPoint.state = static_cast< PointState::Type >( state );
 }
 
 void Point::SetScreenPosition( const Vector2& screenPosition )