equal
deleted
inserted
replaced
111 * @param aControl The control being drawn. |
111 * @param aControl The control being drawn. |
112 * @param aRect The area to be redrawn. |
112 * @param aRect The area to be redrawn. |
113 */ |
113 */ |
114 void Draw( CWindowGc& aGc, const CCoeControl& aControl, |
114 void Draw( CWindowGc& aGc, const CCoeControl& aControl, |
115 const TRect& aRect ) const; |
115 const TRect& aRect ) const; |
116 |
116 |
117 /** |
|
118 * From CCoeControl. Sets this control as visible or invisible. |
|
119 * @param aVisible ETrue to make the control visible, EFalse to make it |
|
120 * invisible. |
|
121 */ |
|
122 void MakeVisible( TBool aVisible ); |
|
123 |
|
124 /** |
117 /** |
125 * From CCoeControl. Gets the number of component controls contained by |
118 * From CCoeControl. Gets the number of component controls contained by |
126 * this control. |
119 * this control. |
127 * @return The number of component controls contained by this control. |
120 * @return The number of component controls contained by this control. |
128 */ |
121 */ |
212 * Draws background. |
205 * Draws background. |
213 * @param aGc Graphics context. |
206 * @param aGc Graphics context. |
214 * @param aRect Rect to draw. |
207 * @param aRect Rect to draw. |
215 */ |
208 */ |
216 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 ); |
217 |
217 |
218 private: // Data |
218 private: // Data |
219 |
219 |
220 // skin context |
220 // skin context |
221 CAknsFrameBackgroundControlContext* iBgContext; |
221 CAknsFrameBackgroundControlContext* iBgContext; |
247 // 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. |
248 TBool iCloseMenu; |
248 TBool iCloseMenu; |
249 |
249 |
250 // 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 |
251 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; |
252 |
256 |
253 }; |
257 }; |
254 |
258 |
255 #endif // AKNPREVIEWPOPUP_H |
259 #endif // AKNPREVIEWPOPUP_H |
256 |
260 |