uifw/EikStd/coctlsrc/smileydrawer.cpp
branchRCL_3
changeset 6 9f56a4e1b8ab
parent 0 2f259fa3e83a
child 19 aecbbf00d063
equal deleted inserted replaced
5:aabf2c525e0f 6:9f56a4e1b8ab
   204 // ---------------------------------------------------------------------------
   204 // ---------------------------------------------------------------------------
   205 //
   205 //
   206 void CSmileyDrawer::DrawImageByIconL( CBitmapContext& aGc, 
   206 void CSmileyDrawer::DrawImageByIconL( CBitmapContext& aGc, 
   207     CSmileyIcon* aIcon )
   207     CSmileyIcon* aIcon )
   208     {
   208     {
   209     if ( aIcon->DocPos() < iVisibleStart && aIcon->DocPos() >= 
       
   210         iVisibleStart + iVisibleLength )
       
   211         {
       
   212         return;
       
   213         }
       
   214     CSmileyImageData* image( aIcon->ImageData() );
   209     CSmileyImageData* image( aIcon->ImageData() );
   215     CFbsBitmap* bmp( image->Bitmap() );
   210     CFbsBitmap* bmp( image->Bitmap() );
   216     CFbsBitmap* mask( image->Mask() );
   211     CFbsBitmap* mask( image->Mask() );
   217     if ( aIcon->IsPlayFinished() )
   212     if ( aIcon->IsPlayFinished() )
   218         {
   213         {