#include "FUiAnim_VisualElement.h"
#include "FUiAnim_VisualElementImpl.h"
#include "FUiAnim_VisualElementSurfaceImpl.h"
+#include "FUi_CoordinateSystemUtils.h"
using namespace std;
using namespace Tizen::Base;
double x = 0.0;
double y = 0.0;
- Point position = touchInfo.GetCurrentPosition();
+ Point position = _CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition());
GetTouchPostion(FloatPoint(static_cast<float>(position.x), static_cast<float>(position.y)), x, y);
livebox_content_event(__pLiveboxView->__pLivebox, PD_MOUSE_DOWN, x, y);
{
FloatRectangle clientBounds(GetClientBoundsF());
- Point position = touchInfo.GetCurrentPosition();
+ Point position = _CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition());
FloatPoint floatPosition(static_cast<float>(position.x), static_cast<float>(position.y));
if (!clientBounds.Contains(floatPosition))
double x = 0.0;
double y = 0.0;
- Point position = touchInfo.GetCurrentPosition();
+ Point position = _CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition());
GetTouchPostion(FloatPoint(static_cast<float>(position.x), static_cast<float>(position.y)), x, y);
livebox_content_event(__pLiveboxView->__pLivebox, PD_MOUSE_MOVE, x, y);
#include "FUiAnim_EflNode.h"
#include "FUiAnim_VisualElementImpl.h"
#include "FUiAnim_VisualElementSurfaceImpl.h"
+#include "FUi_CoordinateSystemUtils.h"
using namespace std;
using namespace Tizen::App;
double x = 0.0;
double y = 0.0;
- Point position = touchInfo.GetCurrentPosition();
+ Point position = _CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition());
GetTouchPostion(FloatPoint(static_cast<float>(position.x), static_cast<float>(position.y)), x, y);
livebox_content_event(__pLivebox, LB_MOUSE_DOWN, x, y);
_LiveboxView::OnTouchReleased(const _Control& source, const _TouchInfo& touchInfo)
{
FloatRectangle clientBounds(GetClientBoundsF());
- Point position(touchInfo.GetCurrentPosition());
+ Point position(_CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition()));
FloatPoint floatPosition(static_cast<float>(position.x), static_cast<float>(position.y));
if (clientBounds.Contains(floatPosition))
double x = 0.0;
double y = 0.0;
- Point position = touchInfo.GetCurrentPosition();
+ Point position = _CoordinateSystemUtils::ConvertToInteger(touchInfo.GetCurrentPosition());
GetTouchPostion(FloatPoint(static_cast<float>(position.x), static_cast<float>(position.y)), x, y);
livebox_content_event(__pLivebox, LB_MOUSE_MOVE, x, y);