2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an ”AS IS” BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FUi_FingerInfo.cpp
20 * @brief This is the implementation file for _FingerInfo class.
24 #include <FBaseSysLog.h>
25 #include "FUi_FingerInfo.h"
27 using namespace Tizen::Graphics;
29 namespace Tizen { namespace Ui
32 _FingerInfo::_FingerInfo(void)
33 : __deviceId(INVALID_POINT_ID)
34 , __pointId(INVALID_POINT_ID)
35 , __status(_TOUCH_FOCUS_OUT)
39 ,__touchMoveReady(false)
43 _FingerInfo::~_FingerInfo(void)
48 _FingerInfo::SetDeviceId(unsigned long deviceId)
50 __deviceId = deviceId;
54 _FingerInfo::GetDeviceId(void) const
60 _FingerInfo::SetPointId(unsigned long pointId)
66 _FingerInfo::SetPoint(const FloatPoint& screenPoint, const FloatPoint& point)
68 __screenPoint = screenPoint;
73 _FingerInfo::GetPointId(void) const
79 _FingerInfo::GetPoint(void) const
85 _FingerInfo::GetScreenPoint(void) const
91 _FingerInfo::SetStatus(const _TouchStatus status)
97 _FingerInfo::GetStatus(void) const
103 _FingerInfo::SetStartPoint(const FloatPoint& point)
105 __startPoint = point;
109 _FingerInfo::GetStartPoint(void) const
115 _FingerInfo::SetMoveReady(bool moveReady)
117 __touchMoveReady = moveReady;
121 _FingerInfo::GetMoveReady(void) const
123 return __touchMoveReady;