X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fview-model.h;h=fe77f6727d792971688916616a3fa8fae506452e;hp=46c618f4f4ab74bdc397a817c90b3ed874de8663;hb=41d36118a13932bcf1db39b780ac437fcda8aa08;hpb=1e5f8e03bf0dfd40c9efd641d915dd1173eae4e5 diff --git a/dali-toolkit/internal/text/rendering/view-model.h b/dali-toolkit/internal/text/rendering/view-model.h index 46c618f..fe77f67 100755 --- a/dali-toolkit/internal/text/rendering/view-model.h +++ b/dali-toolkit/internal/text/rendering/view-model.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_VIEW_MODEL_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. @@ -139,6 +139,16 @@ public: virtual const ColorIndex* const GetColorIndices() const; /** + * @copydoc ModelInterface::GetBackgroundColors() + */ + virtual const Vector4* const GetBackgroundColors() const; + + /** + * @copydoc ModelInterface::GetBackgroundColorIndices() + */ + virtual const ColorIndex* const GetBackgroundColorIndices() const; + + /** * @copydoc ModelInterface::GetDefaultColor() */ virtual const Vector4& GetDefaultColor() const; @@ -191,9 +201,19 @@ public: /** * @copydoc ModelInterface::GetOutlineWidth() */ - virtual float GetOutlineWidth() const; + virtual uint16_t GetOutlineWidth() const; - /** + /** + * @copydoc ModelInterface::GetBackgroundColor() + */ + virtual const Vector4& GetBackgroundColor() const; + + /** + * @copydoc ModelInterface::IsBackgroundEnabled() + */ + virtual bool IsBackgroundEnabled() const; + +/** * @brief Does the text elide. * * It stores a copy of the visible glyphs and removes as many glyphs as needed