summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-13 17:08:56 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:42 +0200
commit9596fe49eb591018c5609f7b46e825cbf89e6c15 (patch)
tree6b276ec1daf15bcee1fc0d18280e73df5f5b497f /drawinglayer
parent6b30ff01ea3a4ab7f3fecd7f23bb4782a3f8eb84 (diff)
Experiment with underlining in VclProcessor's text rendering
Change-Id: Ib1f0e853dec1cb9aa00f585e5d8cdce836478ebb (cherry picked from commit 11cd641c130358942fc4a9cbc534dc6be9d8c4a2)
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 7758ed426cd5..8b660cbcca9e 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -190,9 +190,13 @@ namespace drawinglayer
// set FillColor Attribute
// FIXME(matteocam)
// XXX: is "Color" the right type
- const Color aFillColor(pTCPP->getFillColor() );
- if( aFillColor != COL_TRANSPARENT )
+
+ //const Color aFillColor(pTCPP->getFontFillColor() );
+ //if( aFillColor != COL_TRANSPARENT )
+ // set fill Color if underlined
+ if ( eFontUnderline != UNDERLINE_NONE )
{
+ aFillColor = RGB_COLORDATA(0x66, 0x66, 0xff)
aFont.SetFillColor(aFillColor);
aFont.SetTransparent(false);
}