bool WidgetView::OnTouch( Dali::Actor actor, const Dali::TouchEvent& event )
{
+ DALI_LOG_RELEASE_INFO("OnTouch count : %d \n", event.GetPointCount());
if( event.GetPointCount() == 0 )
{
return false;
}
Device::Class::Type deviceType = event.GetDeviceClass( 0 );
+ DALI_LOG_RELEASE_INFO("OnTouch deviceType : %d \n", deviceType);
if( deviceType == Device::Class::MOUSE )
{
return MouseEvent( event );
tizen_remote_surface_event_type type = TIZEN_REMOTE_SURFACE_EVENT_TYPE_NONE;
int button = 1;
+ DALI_LOG_RELEASE_INFO("MouseEvent state : %d \n", event.GetState( 0 ));
switch( event.GetState( 0 ) )
{
case Dali::PointState::UP:
if( mRetryState )
{
+ DALI_LOG_RELEASE_INFO("mRetryState return false\n");
ActivateFaultedWidget();
return false;
}
Vector2 localPos = event.GetLocalPosition( 0 );
+ DALI_LOG_RELEASE_INFO("call tizen_remote_surface_transfer_mouse_event!!!\n");
tizen_remote_surface_transfer_mouse_event( mRemoteSurface,
type,
0,
tizen_remote_surface_event_type type = TIZEN_REMOTE_SURFACE_EVENT_TYPE_NONE;
int button = 1;
+ DALI_LOG_RELEASE_INFO("TouchEvent state : %d \n", event.GetState( 0 ));
switch( event.GetState( 0 ) )
{
case Dali::PointState::UP:
if( mRetryState )
{
+ DALI_LOG_RELEASE_INFO("mRetryState return false\n");
ActivateFaultedWidget();
return false;
}
if( mRemoteSurface == NULL )
{
- DALI_LOG_ERROR("There is no RemoteSurface so it can not use TouchEvent");
+ DALI_LOG_RELEASE_INFO("There is no RemoteSurface so it can not use TouchEvent");
return false;
}
Vector2 localPos = event.GetLocalPosition( 0 );
+ DALI_LOG_RELEASE_INFO("call tizen_remote_surface_transfer_touch_event!!!\n");
tizen_remote_surface_transfer_touch_event( mRemoteSurface,
type,
0,