equal
deleted
inserted
replaced
205 * Draws background. |
205 * Draws background. |
206 * @param aGc Graphics context. |
206 * @param aGc Graphics context. |
207 * @param aRect Rect to draw. |
207 * @param aRect Rect to draw. |
208 */ |
208 */ |
209 void DrawBackground( CWindowGc& aGc, const TRect& aRect ) const; |
209 void DrawBackground( CWindowGc& aGc, const TRect& aRect ) const; |
|
210 |
|
211 /** |
|
212 * Cleans the internal pointer which is used |
|
213 * to track object deletion. |
|
214 * @param aParam Pointer to preview popup object. |
|
215 */ |
|
216 static void CleanLocalRef( TAny* aParam ); |
210 |
217 |
211 private: // Data |
218 private: // Data |
212 |
219 |
213 // skin context |
220 // skin context |
214 CAknsFrameBackgroundControlContext* iBgContext; |
221 CAknsFrameBackgroundControlContext* iBgContext; |
240 // has occured so then pointer grab does not matter and popup can be closed. |
247 // has occured so then pointer grab does not matter and popup can be closed. |
241 TBool iCloseMenu; |
248 TBool iCloseMenu; |
242 |
249 |
243 // It is true when user clicks the popup, transfer pointer up event to its child control |
250 // It is true when user clicks the popup, transfer pointer up event to its child control |
244 TBool iAllowUpEvent; |
251 TBool iAllowUpEvent; |
|
252 |
|
253 // Stores the local variable address, which is used |
|
254 // to mark whether this object has been deleted |
|
255 TBool* iIsDeleted; |
245 |
256 |
246 }; |
257 }; |
247 |
258 |
248 #endif // AKNPREVIEWPOPUP_H |
259 #endif // AKNPREVIEWPOPUP_H |
249 |
260 |