skins/AknSkins/src/AknsScalabilityUtils.cpp
changeset 21 4ab28fdd25ad
parent 1 ba33815114d6
child 42 2398a337fa76
child 54 08459e712984
equal deleted inserted replaced
3:e5d274d457b4 21:4ab28fdd25ad
  1034     if( existingData )
  1034     if( existingData )
  1035         {
  1035         {
  1036         aMorphingOut = morphing;
  1036         aMorphingOut = morphing;
  1037         return existingData;
  1037         return existingData;
  1038         }
  1038         }
  1039     if(aSkin->iLocalItemDefArray.Count() == 0) //not in preview
  1039 /*    if(aSkin->iLocalItemDefArray.Count() == 0) //not in preview
  1040         {
  1040         {
  1041         if ( hasData && IsScalableItem( thisIid ) )
  1041         if ( hasData && IsScalableItem( thisIid ) )
  1042             {
  1042             {
  1043             CAknsMaskedBitmapItemData* data =
  1043             CAknsMaskedBitmapItemData* data =
  1044                     CAknsMaskedBitmapItemData::NewL();
  1044                     CAknsMaskedBitmapItemData::NewL();
  1058                     aLayoutSize, morphing, aLocalItem);
  1058                     aLayoutSize, morphing, aLocalItem);
  1059             aMorphingOut = morphing;
  1059             aMorphingOut = morphing;
  1060             return CachedLayoutBitmap(aSkin, thisIid, rect.Size(),
  1060             return CachedLayoutBitmap(aSkin, thisIid, rect.Size(),
  1061                     aLayoutSize, aLayoutType, morphing, aLocalItem);
  1061                     aLayoutSize, aLayoutType, morphing, aLocalItem);
  1062             }
  1062             }
  1063         }
  1063         }*/
  1064     // Otherwise, start rendering
  1064     // Otherwise, start rendering
  1065 
  1065 
  1066     CAknsMaskedBitmapItemData* thisData = CAknsMaskedBitmapItemData::NewL();
  1066     CAknsMaskedBitmapItemData* thisData = CAknsMaskedBitmapItemData::NewL();
  1067     CleanupStack::PushL( thisData ); // (1)
  1067     CleanupStack::PushL( thisData ); // (1)
  1068 
  1068