Kaydet (Commit) 748e48fe authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix missing pieces

That resulted in the wrong color used for some rendering.

Change-Id: I1f427fb65e287d17ca96ea6adbc46686f48f8c6f
üst e6b207fa
......@@ -145,9 +145,13 @@ void X11SalGraphics::SetDrawable( Drawable aDrawable, SalX11Screen nXScreen )
if( hDrawable_ )
{
// nPenPixel_ = GetPixel( nPenColor_ ); // TODO: moggi: FIX ME
X11SalGraphicsImpl* pImpl = dynamic_cast<X11SalGraphicsImpl*>(mpImpl.get());
if (pImpl)
{
pImpl->nPenPixel_ = GetPixel( pImpl->nPenColor_ );
pImpl->nBrushPixel_ = GetPixel( pImpl->nBrushColor_ );
}
nTextPixel_ = GetPixel( nTextColor_ );
// nBrushPixel_ = GetPixel( nBrushColor_ ); // TODO: moggi: FIX ME
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment