X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-impl.h;h=f496467c4e82bfccec62f6f4f5de493de3920982;hp=cb0c7be01f9fccd4708bf1cae2d79a75f2db5b6f;hb=675f5551ef3c7ca20ec45c36b865a5092883af43;hpb=475209602f0a7ad74883059a818cbbe41be263e1 diff --git a/dali-toolkit/internal/visuals/visual-base-impl.h b/dali-toolkit/internal/visuals/visual-base-impl.h index cb0c7be..f496467 100644 --- a/dali-toolkit/internal/visuals/visual-base-impl.h +++ b/dali-toolkit/internal/visuals/visual-base-impl.h @@ -22,6 +22,7 @@ #include #include #include +#include #include // INTERNAL INCLUDES @@ -89,7 +90,12 @@ public: /** * @copydoc Toolkit::Visual::Base::GetHeightForWidth */ - virtual float GetHeightForWidth( float width ) const; + virtual float GetHeightForWidth( float width ); + + /** + * @copydoc Toolkit::Visual::Base::GetWidthForHeight + */ + virtual float GetWidthForHeight( float height ); /** * @copydoc Toolkit::Visual::Base::GetNaturalSize @@ -152,6 +158,11 @@ public: */ Dali::Property::Value GetProperty( Dali::Property::Index index ); + /** + * Gets currently staged renderer, or an empty handle if not staged + */ + Renderer GetRenderer(); + protected: /** @@ -221,24 +232,6 @@ protected: */ bool IsFromCache() const; -protected: - /** - * @brief Called by SetProperty(). To be overriden by derived clases in order to set properties. - * - * @param [in] index The index of the property. - * @param [in] propertyValue The new value of the property. - */ - virtual void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ) = 0; - - /** - * @brief Called by GetProperty(). To be overriden by derived classes in order to retrieve properties. - * - * @param [in] index The index of the property. - * - * @return The property value. - */ - virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ) = 0; - private: // Undefined