javauis/lcdui_akn/lcdui/src/CMIDTextEditorEdwinCustomDraw.cpp
branchRCL_3
changeset 23 e5618cc85d74
parent 19 71c436fe3ce0
equal deleted inserted replaced
21:4376525cdefb 23:e5618cc85d74
   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     }