return mActualSize;
}
+void VisualModel::SetTextColor( const Vector4& textColor )
+{
+ mTextColor = textColor;
+
+ if ( !mUnderlineColorSet )
+ {
+ mUnderlineColor = textColor;
+ }
+}
+
void VisualModel::SetShadowOffset( const Vector2& shadowOffset )
{
mShadowOffset = shadowOffset;
mShadowColor = shadowColor;
}
+void VisualModel::SetUnderlineColor( const Vector4& color )
+{
+ mUnderlineColor = color;
+ mUnderlineColorSet = true;
+}
+
+void VisualModel::SetUnderlineEnabled( bool enabled )
+{
+ mUnderlineEnabled = enabled;
+}
+
+const Vector4& VisualModel::GetTextColor() const
+{
+ return mTextColor;
+}
+
const Vector2& VisualModel::GetShadowOffset() const
{
return mShadowOffset;
return mShadowColor;
}
+const Vector4& VisualModel::GetUnderlineColor() const
+{
+ return mUnderlineColor;
+}
+
+bool VisualModel::IsUnderlineEnabled() const
+{
+ return mUnderlineEnabled;
+}
VisualModel::~VisualModel()
{
}
VisualModel::VisualModel()
+: mUnderlineColorSet( false )
{
}