X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Factors%2Factor-impl.h;h=a982904b60d56b168274d3deaf21ecfb1905829f;hb=6d08ede3a8e9fcfd9c4ca23f5d3fb9b35357f0a4;hp=5a11cd074e5380959f01a79da6e8178741623f31;hpb=c4252ac042021ce3bade636a5e7d8c0f0916857a;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/actors/actor-impl.h b/dali/internal/event/actors/actor-impl.h old mode 100644 new mode 100755 index 5a11cd0..a982904 --- a/dali/internal/event/actors/actor-impl.h +++ b/dali/internal/event/actors/actor-impl.h @@ -1326,6 +1326,16 @@ public: return mKeyboardFocusable; } + + /** + * Query whether the application or derived actor type requires intercept touch events. + * @return True if intercept touch events are required. + */ + bool GetInterceptTouchRequired() const + { + return !mInterceptTouchedSignal.Empty(); + } + /** * Query whether the application or derived actor type requires touch events. * @return True if touch events are required. @@ -1394,6 +1404,13 @@ public: // Signals /** + * Used by the EventProcessor to emit intercept touch event signals. + * @param[in] touch The touch data. + * @return True if the event was intercepted. + */ + bool EmitInterceptTouchEventSignal( const Dali::TouchEvent& touch ); + + /** * Used by the EventProcessor to emit touch event signals. * @param[in] touch The touch data. * @return True if the event was consumed. @@ -1440,6 +1457,14 @@ public: void EmitChildRemovedSignal( Actor& child ); /** + * @copydoc DevelActor::InterceptTouchedSignal() + */ + Dali::Actor::TouchEventSignalType& InterceptTouchedSignal() + { + return mInterceptTouchedSignal; + } + + /** * @copydoc Dali::Actor::TouchedSignal() */ Dali::Actor::TouchEventSignalType& TouchedSignal() @@ -1982,6 +2007,7 @@ protected: ActorGestureData* mGestureData; ///< Optional Gesture data. Only created when actor requires gestures // Signals + Dali::Actor::TouchEventSignalType mInterceptTouchedSignal; Dali::Actor::TouchEventSignalType mTouchedSignal; Dali::Actor::HoverSignalType mHoveredSignal; Dali::Actor::WheelEventSignalType mWheelEventSignal;