*
* @param[in] propertyMap The map contains the properties required by the control renderer
* Depends on the content of the map, different kind of renderer would be returned.
*
* @param[in] propertyMap The map contains the properties required by the control renderer
* Depends on the content of the map, different kind of renderer would be returned.
*
* @param[in] url The URL to the resource to be rendered.
* @param[in] size The width and height to fit the loaded image to.
*
* @param[in] url The URL to the resource to be rendered.
* @param[in] size The width and height to fit the loaded image to.
*
* @tparam ParameterType0 The type of first argument passed to the CreateVisual()
* @tparam ParameterType1 The type of second argument passed to the CreateVisual()
* @SINCE_1_0.39
* @param[in] actor Actor for which the renderer will be replaced
*
* @tparam ParameterType0 The type of first argument passed to the CreateVisual()
* @tparam ParameterType1 The type of second argument passed to the CreateVisual()
* @SINCE_1_0.39
* @param[in] actor Actor for which the renderer will be replaced
* @param[in] param0 First template based argument passed to the renderer factory
* @param[in] param1 Second template based argument passed to the renderer factory
*/
template< class ParameterType0, class ParameterType1 >
* @param[in] param0 First template based argument passed to the renderer factory
* @param[in] param1 Second template based argument passed to the renderer factory
*/
template< class ParameterType0, class ParameterType1 >
-void InitializeVisual( Actor& actor, Visual& renderer, ParameterType0& param0, ParameterType1& param1 )
+void InitializeVisual( Actor& actor, Visual::Base& visual, ParameterType0& param0, ParameterType1& param1 )
- renderer.RemoveAndReset( actor );
- renderer = Toolkit::VisualFactory::Get().CreateVisual( param0, param1 );
- if( renderer && actor && actor.OnStage() )
+ visual.RemoveAndReset( actor );
+ visual = Toolkit::VisualFactory::Get().CreateVisual( param0, param1 );
+ if( visual && actor && actor.OnStage() )
*
* @tparam ParameterType The type of argument passed to the CreateVisual()
* @SINCE_1_0.39
* @param[in] actor Actor for which the renderer will be replaced
*
* @tparam ParameterType The type of argument passed to the CreateVisual()
* @SINCE_1_0.39
* @param[in] actor Actor for which the renderer will be replaced
* @param[in] param Template based argument passed to the renderer factory
*/
template< class ParameterType >
* @param[in] param Template based argument passed to the renderer factory
*/
template< class ParameterType >
- renderer.RemoveAndReset( actor );
- renderer = Toolkit::VisualFactory::Get().CreateVisual( param );
- if( renderer && actor && actor.OnStage() )
+ visual.RemoveAndReset( actor );
+ visual = Toolkit::VisualFactory::Get().CreateVisual( param );
+ if( visual && actor && actor.OnStage() )