X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fborder%2Fborder-visual.h;h=7efb14255be13e4129078d0008825f0878bec5fd;hb=d6f1c901d74aef4e66ffb6565bb61de952a090a3;hp=4f999b48d7ebfebabe860013cc8aa45674ff6f9d;hpb=6ccaa1ddf53d121a0d8427ae6959137279be18fc;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 4f999b4..7efb142 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,14 +91,9 @@ protected: virtual void DoCreatePropertyMap( Property::Map& map ) const; /** - * @copydoc Visual::Base::DoSetProperty + * @copydoc Visual::Base::OnSetTransform */ - virtual void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ); - - /** - * @copydoc Visual::Base::DoGetProperty - */ - virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ); + virtual void OnSetTransform(); public: @@ -138,6 +134,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 );