X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Factors%2Factor-devel.h;h=7b1b7d13c7b05fdf43b52fd0017d46c558912048;hb=199a66447fc65d87cdfffc39465253ddcb0e436b;hp=cda374f6ba8221ab254aff73cfaaa77f86f56e1e;hpb=a237eb6dda681d2a20d4c199031ba9747ed3dc47;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/devel-api/actors/actor-devel.h b/dali/devel-api/actors/actor-devel.h index cda374f..7b1b7d1 100755 --- a/dali/devel-api/actors/actor-devel.h +++ b/dali/devel-api/actors/actor-devel.h @@ -117,7 +117,21 @@ enum Type * @details Name "captureAllTouchAfterStart", type Property::BOOLEAN * @note Default is false, i.e. actor under touch event will receive the touch even if touch started on this actor */ - CAPTURE_ALL_TOUCH_AFTER_START + CAPTURE_ALL_TOUCH_AFTER_START, + + /** + * @brief If you set the TOUCH_DELEGATE_AREA on an actor, when you touch the actor, the delegate area is used rather than the size of the actor + * @details Name "touchDelegateArea", type Property::Vector2 + * @note Default is Vector2::ZERO. + * @note for example + * Actor actor = Actor::New(); + * actor.SetProperty(Actor::Property::SIZE, Vector2(10.0f, 10.0f)); + * actor.SetProperty(DevelActor::Property::TOUCH_DELEGATE_AREA, Vector2(200.0f, 200.0f)); + * actor.TouchedSignal().Connect(OnTouchCallback); + * + * If you want to reset the touch area to an area different with the size of the actor, you can set this TOUCH_DELEGATE_AREA property. + */ + TOUCH_DELEGATE_AREA }; } // namespace Property