equal
deleted
inserted
replaced
35 EHistoryComponentRightPlaceHolder |
35 EHistoryComponentRightPlaceHolder |
36 }; |
36 }; |
37 |
37 |
38 |
38 |
39 // CONSTANTS |
39 // CONSTANTS |
40 const int KCenterThumbnailWidthPercent = 50; |
40 const int KCenterThumbnailWidthPercent = 60; |
41 const int KCenterThumbnailHeightPercent = 90; |
41 const int KCenterThumbnailHeightPercent = 75; |
42 const int KSideThumbnailWidthPercent = 25; |
42 const int KSideThumbnailWidthPercent = 20; |
43 const int KSideThumbnailHeightPercent = 70; |
43 const int KSideThumbnailHeightPercent = 60; |
44 |
44 |
45 // FORWARD DECLARATIONS |
45 // FORWARD DECLARATIONS |
46 class HistoryController; |
46 class HistoryController; |
47 class HistoryEntry; |
47 class HistoryEntry; |
48 class WebSurface; |
48 class WebSurface; |
207 * Method to load an url |
207 * Method to load an url |
208 * @since 3.x |
208 * @since 3.x |
209 * @return void |
209 * @return void |
210 */ |
210 */ |
211 void loadUrl(); |
211 void loadUrl(); |
|
212 |
|
213 /** |
|
214 * Create a mask bitmap for the thumbnail of left and right entry |
|
215 * left and right entry will use the same mask |
|
216 * @param aSize The size of the mask bitmap which will be cteated |
|
217 * @param aDisplayMode The display mode of the mask bitmap |
|
218 * @param aRgb The color filled in the bitmap |
|
219 */ |
|
220 void CreateMaskBitmapForLeftRightThumbnailL(TSize& aSize, TDisplayMode aDisplayMode, TRgb aRgb); |
212 |
221 |
213 private: // Data |
222 private: // Data |
214 |
223 |
215 |
224 |
216 CFbsBitmapDevice* m_bitmapDevice; // owned |
225 CFbsBitmapDevice* m_bitmapDevice; // owned |
256 TPointerEvent m_pointerEvent; |
265 TPointerEvent m_pointerEvent; |
257 // Component selected by MouseDown event |
266 // Component selected by MouseDown event |
258 THistoryViewComponent m_historyViewComponent; |
267 THistoryViewComponent m_historyViewComponent; |
259 // Timer for repeated scrolling |
268 // Timer for repeated scrolling |
260 CPeriodic* m_autoScrollPeriodic; |
269 CPeriodic* m_autoScrollPeriodic; |
261 |
270 TPoint m_lastpointerposition; |
262 TPoint m_lastpointerposition; |
271 //Mask bitmap for the thumbnail of left and right entry |
|
272 CFbsBitmap* m_maskBitmap; |
263 }; |
273 }; |
264 |
274 |
265 #endif // HISTORYVIEW_H |
275 #endif // HISTORYVIEW_H |
266 |
276 |
267 // End of File |
277 // End of File |