X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fevents%2Fevent-processor.cpp;h=31ce118a38e31cbbb00d66823dfb3f3aa89d28a3;hb=6a54d63f7e36a3f38f5462aa1cc6ef83e22441b2;hp=fed209a6769d92156153c6c90e1ebcbdfd0a08c1;hpb=d77f4d2bef2099617096c89f8b2d49f55536774f;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/events/event-processor.cpp b/dali/internal/event/events/event-processor.cpp old mode 100644 new mode 100755 index fed209a..31ce118 --- a/dali/internal/event/events/event-processor.cpp +++ b/dali/internal/event/events/event-processor.cpp @@ -98,7 +98,7 @@ void EventProcessor::QueueEvent( const Event& event ) case Event::Hover: { - typedef Integration::HoverEvent DerivedType; + using DerivedType = Integration::HoverEvent; // Reserve some memory inside the message queue uint32_t* slot = mCurrentEventQueue->ReserveMessageSlot( sizeof( DerivedType ) ); @@ -111,7 +111,7 @@ void EventProcessor::QueueEvent( const Event& event ) case Event::Key: { - typedef Integration::KeyEvent DerivedType; + using DerivedType = Integration::KeyEvent; // Reserve some memory inside the message queue uint32_t* slot = mCurrentEventQueue->ReserveMessageSlot( sizeof( DerivedType ) ); @@ -124,7 +124,7 @@ void EventProcessor::QueueEvent( const Event& event ) case Event::Wheel: { - typedef Integration::WheelEvent DerivedType; + using DerivedType = Integration::WheelEvent; // Reserve some memory inside the message queue uint32_t* slot = mCurrentEventQueue->ReserveMessageSlot( sizeof( DerivedType ) ); @@ -159,8 +159,8 @@ void EventProcessor::ProcessEvents() // Do this by sending an interrupted event to the GestureEventProcessor if( consumed ) { - Integration::Point& point = touchEvent.GetPoint(0); - point.SetState( PointState::INTERRUPTED ); + // Integration::Point& point = touchEvent.GetPoint(0); + // point.SetState( PointState::INTERRUPTED ); } mGestureEventProcessor.ProcessTouchEvent(mScene, touchEvent);