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
Merge "Fix corrupted markup background" into devel/master
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-view.cpp
diff --git
a/dali-toolkit/internal/text/text-view.cpp
b/dali-toolkit/internal/text/text-view.cpp
index
2f74699
..
8439927
100644
(file)
--- a/
dali-toolkit/internal/text/text-view.cpp
+++ b/
dali-toolkit/internal/text/text-view.cpp
@@
-343,6
+343,16
@@
const ColorIndex* const View::GetBackgroundColorIndices() const
return nullptr;
}
return nullptr;
}
+bool const View::IsMarkupBackgroundColorSet() const
+{
+ if(mImpl->mVisualModel)
+ {
+ return (mImpl->mVisualModel->mBackgroundColors.Count() > 0);
+ }
+
+ return false;
+}
+
const Vector4& View::GetTextColor() const
{
if(mImpl->mVisualModel)
const Vector4& View::GetTextColor() const
{
if(mImpl->mVisualModel)