projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a RendererCache and utilise it for ImageRenderer.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
controls
/
renderers
/
border
/
border-renderer.h
diff --git
a/dali-toolkit/internal/controls/renderers/border/border-renderer.h
b/dali-toolkit/internal/controls/renderers/border/border-renderer.h
index
5a1f575
..
859cf01
100644
(file)
--- a/
dali-toolkit/internal/controls/renderers/border/border-renderer.h
+++ b/
dali-toolkit/internal/controls/renderers/border/border-renderer.h
@@
-49,8
+49,10
@@
public:
/**
* @brief Constructor.
/**
* @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().
/**
* @brief A reference counted object may only be deleted by calling Unreference().
@@
-60,29
+62,33
@@
public:
public: // from ControlRenderer
/**
public: // from ControlRenderer
/**
- * @copydoc ControlRenderer::Initialize
- */
- virtual void Initialize( RendererFactoryCache& factoryCache, const Property::Map& propertyMap );
-
- /**
* @copydoc ControlRenderer::SetClipRect
*/
virtual void SetClipRect( const Rect<int>& clipRect );
protected:
* @copydoc ControlRenderer::SetClipRect
*/
virtual void SetClipRect( const Rect<int>& clipRect );
protected:
+
+ /**
+ * @copydoc ControlRenderer::DoInitialize
+ */
+ virtual void DoInitialize( const Property::Map& propertyMap );
+
+ /**
+ * @copydoc ControlRenderer::InitializeRenderer
+ */
+ virtual void InitializeRenderer( Renderer& renderer );
+
/**
* @copydoc ControlRenderer::DoSetOnStage
*/
virtual void DoSetOnStage( Actor& actor );
/**
* @copydoc ControlRenderer::DoSetOnStage
*/
virtual void DoSetOnStage( Actor& actor );
-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
+ * @copydoc ControlRenderer::CreatePropertyMap
*/
*/
- void Initialize( RendererFactoryCache& factoryCache );
+ virtual void DoCreatePropertyMap( Property::Map& map ) const;
+
+public:
/**
* Set the color of the border.
/**
* Set the color of the border.