equal
deleted
inserted
replaced
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 { |