#define DALI_TOOLKIT_INTERNAL_TEXT_VISUAL_H
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Shader GetTextShader( VisualFactoryCache& factoryCache, bool hasMultipleTextColors, bool containsColorGlyph, bool styleEnabled );
/**
- * @brief Retrieve the text's controller.
- * @param[in] visual The text visual.
- * @return The text controller
+ * @brief Retrieve the TextVisual object.
+ * @param[in] visual A handle to the TextVisual
+ * @return The TextVisual object
*/
static TextVisual& GetVisualObject( Toolkit::Visual::Base visual )
{
- return static_cast<TextVisual&>( visual.GetBaseObject() );
+ return static_cast< TextVisual& >( Toolkit::GetImplementation( visual ).GetVisualObject() );
};
private: