equal
deleted
inserted
replaced
110 const TLineInfo& aLineInfo, |
110 const TLineInfo& aLineInfo, |
111 const TCharFormat& aFormat, |
111 const TCharFormat& aFormat, |
112 const TDesC& aText, |
112 const TDesC& aText, |
113 const TPoint& aTextOrigin, |
113 const TPoint& aTextOrigin, |
114 TInt aExtraPixels) const; |
114 TInt aExtraPixels) const; |
115 |
115 |
116 #ifdef RD_JAVA_S60_RELEASE_9_2 |
116 #ifdef RD_JAVA_S60_RELEASE_9_2 |
117 /** |
117 /** |
118 * Called by the editor FW in order to draw the the content of |
118 * Called by the editor FW in order to draw the the content of |
119 * the editor. |
119 * the editor. |
120 * |
120 * |
122 * |
122 * |
123 * @param aParam Drawing parameters. |
123 * @param aParam Drawing parameters. |
124 * @param aLineInfo The line information. |
124 * @param aLineInfo The line information. |
125 * @param aFormat The current character format. |
125 * @param aFormat The current character format. |
126 * @param aText The content to draw. |
126 * @param aText The content to draw. |
127 * @param aStart |
127 * @param aStart |
128 * @param aEnd |
128 * @param aEnd |
129 * @param aTextOrigin The origin of the text. |
129 * @param aTextOrigin The origin of the text. |
130 * @param aExtraPixels The amount of extra pixels. |
130 * @param aExtraPixels The amount of extra pixels. |
131 * @since S60 5.0 |
131 * @since S60 5.0 |
132 */ |
132 */ |
133 void DrawText( |
133 void DrawText( |
138 const TInt aStart, |
138 const TInt aStart, |
139 const TInt aEnd, |
139 const TInt aEnd, |
140 const TPoint& aTextOrigin, |
140 const TPoint& aTextOrigin, |
141 TInt aExtraPixels) const; |
141 TInt aExtraPixels) const; |
142 #endif |
142 #endif |
143 |
143 |
144 /** |
144 /** |
145 * Retrieves the system color for the specified color index. |
145 * Retrieves the system color for the specified color index. |
146 * |
146 * |
147 * @param aColorIndex The index of the color to be returned. |
147 * @param aColorIndex The index of the color to be returned. |
148 * @param aDefaultColor The default color for the specified index. |
148 * @param aDefaultColor The default color for the specified index. |
152 */ |
152 */ |
153 TRgb SystemColor( |
153 TRgb SystemColor( |
154 TUint aColorIndex, |
154 TUint aColorIndex, |
155 TRgb aDefaultColor) const; |
155 TRgb aDefaultColor) const; |
156 |
156 |
|
157 private: // Own functions |
|
158 /** |
|
159 * Gets proper clipping rect used during scaling. Returned rect is |
|
160 * intersection of canvas rect and iEditorRect. |
|
161 * |
|
162 * @return The proper clipping rect during scaling |
|
163 * @since S60 5.0 |
|
164 */ |
|
165 const TRect GetClippingRectForScaling() const; |
|
166 |
157 private: // Data |
167 private: // Data |
158 |
168 |
159 // Reference to the editor window. Used. |
169 // Reference to the editor window. Used. |
160 const CMIDTextEditorEdwin& iEdwin; |
170 const CMIDTextEditorEdwin& iEdwin; |
161 |
171 |