mpxplugins/viewplugins/views/pdsbplaybackview/src/mpxpdsbplaybackviewcontainer.cpp
changeset 1 8118492f1bdf
parent 0 ff3acec5bc43
equal deleted inserted replaced
0:ff3acec5bc43 1:8118492f1bdf
   108 // ---------------------------------------------------------------------------
   108 // ---------------------------------------------------------------------------
   109 // Redraw part of the screen.
   109 // Redraw part of the screen.
   110 // ---------------------------------------------------------------------------
   110 // ---------------------------------------------------------------------------
   111 //
   111 //
   112 void CMPXPdSbPlaybackViewContainer::RedrawRect(
   112 void CMPXPdSbPlaybackViewContainer::RedrawRect(
   113     const TRect& aRect,
   113     const TRect& aRect) const
   114     CBitmapContext& aGc) const
       
   115     {
   114     {
   116     MPX_DEBUG1("CMPXPdSbPlaybackViewContainer::RedrawRect() entering");
   115     MPX_DEBUG1("CMPXPdSbPlaybackViewContainer::RedrawRect() entering");
   117 
   116 
   118     CMPXCommonPlaybackViewContainer::RedrawRect( aRect, aGc );
   117 
       
   118     CMPXCommonPlaybackViewContainer::RedrawRect( aRect );
   119 
   119 
   120     // Always show progress bars in progressive download
   120     // Always show progress bars in progressive download
   121     DrawIndicator( aGc, aRect, iSliderBackgroundRect, iSliderBackground );
   121     CWindowGc& gc = SystemGc();
   122     DrawIndicator( aGc,
   122     DrawIndicator( gc, aRect, iSliderBackgroundRect, iSliderBackground );
       
   123     DrawIndicator( gc,
   123                    aRect,
   124                    aRect,
   124                    TRect(iDownloadSliderRect.iTl,
   125                    TRect(iDownloadSliderRect.iTl,
   125                          iDownloadSlider->Bitmap()->SizeInPixels()),
   126                          iDownloadSlider->Bitmap()->SizeInPixels()),
   126                    iDownloadSlider );
   127                    iDownloadSlider );
   127     DrawIndicator( aGc,
   128     DrawIndicator( gc,
   128                    aRect,
   129                    aRect,
   129                    TRect(iPlaybackSliderRect.iTl,
   130                    TRect(iPlaybackSliderRect.iTl,
   130                          iPlaybackSlider->Bitmap()->SizeInPixels()),
   131                          iPlaybackSlider->Bitmap()->SizeInPixels()),
   131                    iPlaybackSlider );
   132                    iPlaybackSlider );
   132 
   133