2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
17 #ifndef _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_INFO_H_
18 #define _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_INFO_H_
20 #include <FBaseObject.h>
21 #include "FUi_UiTouchEvent.h"
23 namespace Tizen { namespace Ui { namespace Controls {
25 class _GalleryViewEventInfo
26 : public Tizen::Base::Object
29 _GalleryViewEventInfo(void);
30 _GalleryViewEventInfo(_TouchInfo& touchInfo);
31 virtual ~_GalleryViewEventInfo(void);
34 _TouchStatus GetTouchStatus(void) const;
35 Tizen::Graphics::Point GetCurrentPosition(void) const;
38 void SetFlicked(bool flicked);
39 bool IsFlicked(void) const;
40 void SetFlickPosition(Tizen::Graphics::Point flickPos);
41 Tizen::Graphics::Point GetFlickPosition(void) const;
42 void SetFlickTime(int flickTime);
43 int GetFlickTime(void) const;
46 void SetPinchCenterPosition(Tizen::Graphics::Point centerPos);
47 Tizen::Graphics::Point GetPinchCenterPosition(void) const;
48 void SetPinchArea(int area);
49 int GetPinchArea(void) const;
51 unsigned long GetPointId(void) const;
54 _GalleryViewEventInfo(const _GalleryViewEventInfo& rhs);
55 _GalleryViewEventInfo& operator=(const _GalleryViewEventInfo& rhs);
58 _TouchInfo* __pTouchInfo;
61 Tizen::Graphics::Point __flickPosition;
64 Tizen::Graphics::Point __pinchCenterPosition;
66 }; // _GalleryViewEventInfo
68 }}} // Tizen::Ui::Controls
70 #endif // _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_INFO_H_