249 * @param aIndicatorRect Position for the icon |
249 * @param aIndicatorRect Position for the icon |
250 * @param aIcon Icon and mask |
250 * @param aIcon Icon and mask |
251 * @param aInvertMask Invert mask (see CBitmapContext::BitBltMasked) |
251 * @param aInvertMask Invert mask (see CBitmapContext::BitBltMasked) |
252 */ |
252 */ |
253 IMPORT_C virtual void DrawIndicator( |
253 IMPORT_C virtual void DrawIndicator( |
254 CBitmapContext& aGc, |
254 CWindowGc& aGc , |
255 const TRect& aDirtyRect, |
255 const TRect& aDirtyRect, |
256 const TRect& aIndicatorRect, |
256 const TRect& aIndicatorRect, |
257 const CGulIcon* aIcon, |
257 const CGulIcon* aIcon, |
258 TBool aInvertMask = ETrue ) const; |
258 TBool aInvertMask = ETrue ) const; |
259 |
259 |
260 /** |
260 /** |
261 * Redraw part of the screen to the bitmap context. |
261 * Redraw part of the screen to the bitmap context. |
262 * |
262 * |
263 * @param aRect Area to be redrawn. |
263 * @param aRect Area to be redrawn. |
264 * @param aGc Graphics context to draw to. |
264 * |
265 */ |
265 */ |
266 IMPORT_C virtual void RedrawRect( |
266 IMPORT_C virtual void RedrawRect( |
267 const TRect& aRect, |
267 const TRect& aRect) const; |
268 CBitmapContext& aGc) const; |
|
269 |
268 |
270 /** |
269 /** |
271 * Update progress bar graphics based on current playback |
270 * Update progress bar graphics based on current playback |
272 * and download position. |
271 * and download position. |
273 */ |
272 */ |
393 |
392 |
394 MEikCommandObserver* iCommandObserver; // not owned |
393 MEikCommandObserver* iCommandObserver; // not owned |
395 MMPXLayoutSwitchObserver* iLayoutObserver; // not owned |
394 MMPXLayoutSwitchObserver* iLayoutObserver; // not owned |
396 RPointerArray<CMPXPlaybackViewInfoLabel> iLabels; // owned |
395 RPointerArray<CMPXPlaybackViewInfoLabel> iLabels; // owned |
397 |
396 |
398 CFbsBitmap* iOffScreenBitmap; // owned |
397 |
399 CFbsBitGc* iOSBitmapContext; // owned |
398 |
400 CFbsBitmapDevice* iOSBitmapDevice; // owned |
399 |
401 |
400 |
402 HBufC* iMinSecFormatString; // owned |
401 HBufC* iMinSecFormatString; // owned |
403 HBufC* iShortFormatString; // owned |
402 HBufC* iShortFormatString; // owned |
404 |
403 |
405 CGulIcon* iPlayIcon; // owned |
404 CGulIcon* iPlayIcon; // owned |
470 TInt iTrackTotalLengthInSeconds; |
469 TInt iTrackTotalLengthInSeconds; |
471 TInt64 iNewSongPosition; // Final position from touch progress bar |
470 TInt64 iNewSongPosition; // Final position from touch progress bar |
472 TBool iTouchDown; // Flag indicating touch progress bar is in use |
471 TBool iTouchDown; // Flag indicating touch progress bar is in use |
473 TBool iActiveView; |
472 TBool iActiveView; |
474 |
473 |
475 // mutable is used so that conts Draw method can change the state |
474 |
476 mutable TBool iRefreshBackBuffer; |
475 |
477 TBool iDragProgressBar; //Flag drag progress bar |
476 TBool iDragProgressBar; //Flag drag progress bar |
478 }; |
477 }; |
479 |
478 |
480 #endif // CMPXCOMMONPLAYBACKVIEWCONTAINER_H |
479 #endif // CMPXCOMMONPLAYBACKVIEWCONTAINER_H |
481 |
480 |