X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fnpatch%2Fnpatch-visual.h;h=a36f780e5ae0c43e905c4f42bb4be823d5406246;hb=7f0a28e0f0da67178997e5a647bdc471e8dcb652;hp=0a0465fe5101fc6b7645273c87d6fb71a7cbddc7;hpb=88b69217fe05ad98aab6d9d41e030d934093f82c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/npatch/npatch-visual.h b/dali-toolkit/internal/visuals/npatch/npatch-visual.h index 0a0465f..a36f780 100644 --- a/dali-toolkit/internal/visuals/npatch/npatch-visual.h +++ b/dali-toolkit/internal/visuals/npatch/npatch-visual.h @@ -50,7 +50,8 @@ typedef IntrusivePtr< NPatchVisual > NPatchVisualPtr; * | %Property Name | Type | * |--------------------------|------------------| * | url | STRING | - * | borderOnly | BOOLEAN + * | borderOnly | BOOLEAN | + * | border | RECTANGLE | * */ class NPatchVisual: public Visual::Base @@ -100,6 +101,11 @@ public: // from Visual */ virtual void DoCreatePropertyMap( Property::Map& map ) const; + /** + * @copydoc Visual::Base::CreateInstancePropertyMap + */ + virtual void DoCreateInstancePropertyMap( Property::Map& map ) const; + protected: /** @@ -199,7 +205,7 @@ private: std::string mImageUrl; ///< The url to the N patch to load std::size_t mId; ///< id of the N patch (from loader/cache) bool mBorderOnly; ///< if only border is desired - + Rect< int > mBorder; ///< The size of the border }; } // namespace Internal