X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fborder%2Fborder-visual.h;h=473080bc38f6ae2834214c836dce670519b999cc;hb=59314022f6789147a47a8b098433e211b6185625;hp=4016fd8261ef930393b31cab507d9913e631cc5e;hpb=96f93586302a663ae43a654c7bcfcf301f08b9b3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/border/border-visual.h b/dali-toolkit/internal/visuals/border/border-visual.h index 4016fd8..473080b 100644 --- a/dali-toolkit/internal/visuals/border/border-visual.h +++ b/dali-toolkit/internal/visuals/border/border-visual.h @@ -56,9 +56,10 @@ public: * @brief Create a new border visual. * * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object + * @param[in] properties A Property::Map containing settings for this visual * @return A smart-pointer to the newly allocated visual. */ - static BorderVisualPtr New( VisualFactoryCache& factoryCache ); + static BorderVisualPtr New( VisualFactoryCache& factoryCache, const Property::Map& properties ); protected: @@ -90,6 +91,11 @@ protected: virtual void DoCreatePropertyMap( Property::Map& map ) const; /** + * @copydoc Visual::Base::CreateInstancePropertyMap + */ + virtual void DoCreateInstancePropertyMap( Property::Map& map ) const; + + /** * @copydoc Visual::Base::OnSetTransform */ virtual void OnSetTransform(); @@ -133,6 +139,13 @@ private: */ Geometry CreateBorderGeometry(); + /** + * Helper method to set individual values by index key. + * @param[in] index The index key of the value + * @param[in] value The value + */ + void DoSetProperty( Property::Index index, const Property::Value& value ); + // Undefined BorderVisual( const BorderVisual& borderRenderer );