equal
deleted
inserted
replaced
154 TCharFormat charFormat; |
154 TCharFormat charFormat; |
155 TCharFormatMask charFormatMask; |
155 TCharFormatMask charFormatMask; |
156 // Set the text colour we found. |
156 // Set the text colour we found. |
157 charFormat.iFontPresentation.iTextColor = TLogicalRgb(textColourFromSkin); |
157 charFormat.iFontPresentation.iTextColor = TLogicalRgb(textColourFromSkin); |
158 charFormatMask.SetAttrib(EAttColor); |
158 charFormatMask.SetAttrib(EAttColor); |
159 gc.SetPenColor(charFormat.iFontPresentation.iTextColor); |
159 |
160 gc.DrawText(*(iCalendarName),TPoint(headingTextLayout.TextRect().iTl.iX, |
160 headingTextLayout.DrawText( gc, *iCalendarName, ETrue, charFormat.iFontPresentation.iTextColor ); |
161 headingTextLayout.TextRect().iBr.iY)); |
|
162 gc.DiscardFont(); |
161 gc.DiscardFont(); |
163 TRACE_EXIT_POINT; |
162 TRACE_EXIT_POINT; |
164 } |
163 } |
165 |
164 |
166 // ---------------------------------------------------------------------------- |
165 // ---------------------------------------------------------------------------- |