equal
deleted
inserted
replaced
250 // Return custom highlight color if retrieved by the system. |
250 // Return custom highlight color if retrieved by the system. |
251 if (aColorIndex == TLogicalRgb::ESystemSelectionBackgroundIndex) |
251 if (aColorIndex == TLogicalRgb::ESystemSelectionBackgroundIndex) |
252 { |
252 { |
253 iEdwin.GetColor(EColorControlHighlightBackground, ret); |
253 iEdwin.GetColor(EColorControlHighlightBackground, ret); |
254 } |
254 } |
|
255 else if (aColorIndex == TLogicalRgb::ESystemSelectionForegroundIndex) |
|
256 { |
|
257 iEdwin.GetColor(EColorControlHighlightText, ret); |
|
258 } |
255 else |
259 else |
256 { |
260 { |
257 // Other colors use parent's SystemColor. |
261 // Other colors use parent's SystemColor. |
258 ret = iParentDraw.SystemColor(aColorIndex, aDefaultColor); |
262 ret = iParentDraw.SystemColor(aColorIndex, aDefaultColor); |
259 } |
263 } |