equal
deleted
inserted
replaced
35 EHistoryComponentRightPlaceHolder |
35 EHistoryComponentRightPlaceHolder |
36 }; |
36 }; |
37 |
37 |
38 |
38 |
39 // CONSTANTS |
39 // CONSTANTS |
40 const int KCenterThumbnailWidthPercent = 60; |
40 const int KCenterThumbnailWidthPercent = 50; |
41 const int KCenterThumbnailHeightPercent = 75; |
41 const int KCenterThumbnailHeightPercent = 90; |
42 const int KSideThumbnailWidthPercent = 20; |
42 const int KSideThumbnailWidthPercent = 25; |
43 const int KSideThumbnailHeightPercent = 60; |
43 const int KSideThumbnailHeightPercent = 70; |
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); |
|
221 |
212 |
222 private: // Data |
213 private: // Data |
223 |
214 |
224 |
215 |
225 CFbsBitmapDevice* m_bitmapDevice; // owned |
216 CFbsBitmapDevice* m_bitmapDevice; // owned |
265 TPointerEvent m_pointerEvent; |
256 TPointerEvent m_pointerEvent; |
266 // Component selected by MouseDown event |
257 // Component selected by MouseDown event |
267 THistoryViewComponent m_historyViewComponent; |
258 THistoryViewComponent m_historyViewComponent; |
268 // Timer for repeated scrolling |
259 // Timer for repeated scrolling |
269 CPeriodic* m_autoScrollPeriodic; |
260 CPeriodic* m_autoScrollPeriodic; |
270 TPoint m_lastpointerposition; |
261 |
271 //Mask bitmap for the thumbnail of left and right entry |
262 TPoint m_lastpointerposition; |
272 CFbsBitmap* m_maskBitmap; |
|
273 }; |
263 }; |
274 |
264 |
275 #endif // HISTORYVIEW_H |
265 #endif // HISTORYVIEW_H |
276 |
266 |
277 // End of File |
267 // End of File |