/**
* @brief Constructor.
+ *
+ * @param[in] factoryCache A pointer pointing to the RendererFactoryCache object
*/
- BorderRenderer();
+ BorderRenderer( RendererFactoryCache& factoryCache );
/**
* @brief A reference counted object may only be deleted by calling Unreference().
public: // from ControlRenderer
/**
+ * @copydoc ControlRenderer::SetClipRect
+ */
+ virtual void SetClipRect( const Rect<int>& clipRect );
+
+protected:
+
+ /**
* @copydoc ControlRenderer::DoInitialize
*/
- virtual void DoInitialize( RendererFactoryCache& factoryCache, const Property::Map& propertyMap );
+ virtual void DoInitialize( const Property::Map& propertyMap );
/**
- * @copydoc ControlRenderer::SetClipRect
+ * @copydoc ControlRenderer::InitializeRenderer
*/
- virtual void SetClipRect( const Rect<int>& clipRect );
+ virtual void InitializeRenderer( Renderer& renderer );
-protected:
/**
* @copydoc ControlRenderer::DoSetOnStage
*/
public:
/**
- * Request the geometry and shader from the cache, if not available, create and save to the cache for sharing.
- *
- * @param[in] factoryCache A pointer pointing to the RendererFactoryCache object
- */
- void Initialize( RendererFactoryCache& factoryCache );
-
- /**
* Set the color of the border.
* @param[in] color The border color.
*/