X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Factors%2Factor-devel.h;h=af3d4c5a2e2d62c5f11c462aa12de222d27f0d61;hb=b43741a90b40ca9dfbd33d6a9d390d3c09230e89;hp=f5fe5d38874bd0f9feba38dc444fb3ff7fbc5f6e;hpb=15c677bac70d3071ea747d9d9e6a9c5a033267d8;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 old mode 100644 new mode 100755 index f5fe5d3..af3d4c5 --- a/dali/devel-api/actors/actor-devel.h +++ b/dali/devel-api/actors/actor-devel.h @@ -20,6 +20,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -127,6 +128,13 @@ enum Type * @note True means that the actor is out of the view frustum. */ CULLED = INHERIT_LAYOUT_DIRECTION + 5, + + /** + * @brief Sets the update size hint of the actor. + * @details Name "updateSizeHint", type Property::VECTOR2. + * @note When this value is set, the update area is determined by this value when a partial update. + */ + UPDATE_SIZE_HINT = INHERIT_LAYOUT_DIRECTION + 6, }; } // namespace Property @@ -160,6 +168,14 @@ typedef Signal< void ( Actor, bool, VisibilityChange::Type ) > VisibilityChanged */ DALI_CORE_API VisibilityChangedSignalType& VisibilityChangedSignal( Actor actor ); +/** + * Calculates screen position and size. + * + * @return pair of two values, position of top-left corner on screen and size respectively. + */ +DALI_CORE_API Rect<> CalculateScreenExtents( Actor actor ); + + typedef Signal< void (Actor) > ChildChangedSignalType; ///< Called when the actor has a child added or removed