equal
deleted
inserted
replaced
249 @see CGraphicsContext::SetPenColor() |
249 @see CGraphicsContext::SetPenColor() |
250 */ |
250 */ |
251 EXPORT_C void MTmCustom::SetPenColor(CGraphicsContext& aGc,TLogicalRgb aColor) const |
251 EXPORT_C void MTmCustom::SetPenColor(CGraphicsContext& aGc,TLogicalRgb aColor) const |
252 { |
252 { |
253 MTmCustomExtension c; |
253 MTmCustomExtension c; |
|
254 TUint index = aColor.SystemColorIndex(); |
|
255 if (index) |
|
256 aColor = SystemColor(index,aColor) & 0xFFFFFF; |
254 c.SetPenColor(aGc,aColor); |
257 c.SetPenColor(aGc,aColor); |
255 } |
258 } |
256 |
259 |
257 /** Sets the brush colour. |
260 /** Sets the brush colour. |
258 The brush is used for filling shapes and the background of text boxes. The |
261 The brush is used for filling shapes and the background of text boxes. The |