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 "Alpha function changes" into tizen
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
visual-model-impl.cpp
diff --git
a/dali-toolkit/internal/text/visual-model-impl.cpp
b/dali-toolkit/internal/text/visual-model-impl.cpp
index
c070179
..
922f309
100644
(file)
--- a/
dali-toolkit/internal/text/visual-model-impl.cpp
+++ b/
dali-toolkit/internal/text/visual-model-impl.cpp
@@
-441,6
+441,11
@@
void VisualModel::SetUnderlineEnabled( bool enabled )
mUnderlineEnabled = enabled;
}
mUnderlineEnabled = enabled;
}
+void VisualModel::SetUnderlineHeight( float height )
+{
+ mUnderlineHeight = height;
+}
+
const Vector4& VisualModel::GetTextColor() const
{
return mTextColor;
const Vector4& VisualModel::GetTextColor() const
{
return mTextColor;
@@
-466,6
+471,11
@@
bool VisualModel::IsUnderlineEnabled() const
return mUnderlineEnabled;
}
return mUnderlineEnabled;
}
+float VisualModel::GetUnderlineHeight() const
+{
+ return mUnderlineHeight;
+}
+
void VisualModel::ClearCaches()
{
mCachedLineIndex = 0u;
void VisualModel::ClearCaches()
{
mCachedLineIndex = 0u;
@@
-487,6
+497,7
@@
VisualModel::VisualModel()
mShadowColor(),
mUnderlineColor(),
mShadowOffset(),
mShadowColor(),
mUnderlineColor(),
mShadowOffset(),
+ mUnderlineHeight( 0.0f ),
mNaturalSize(),
mActualSize(),
mCachedLineIndex( 0u ),
mNaturalSize(),
mActualSize(),
mCachedLineIndex( 0u ),