startupservices/SplashScreen/src/SplashScreen.cpp
changeset 1 a4d95d2c2540
parent 0 2e3d3ce01487
child 22 c82a39b81a38
child 43 2fee514510e5
equal deleted inserted replaced
0:2e3d3ce01487 1:a4d95d2c2540
   359     err = findFile.FindByPath( fp->FullName(), NULL );
   359     err = findFile.FindByPath( fp->FullName(), NULL );
   360     fs.Close();
   360     fs.Close();
   361     if ( !err )
   361     if ( !err )
   362         {
   362         {
   363         TRACES("CMainWindow::ConstructL(): Image found");
   363         TRACES("CMainWindow::ConstructL(): Image found");
       
   364 #ifdef USE_SF_SPLASH_ENUM
       
   365         iBitmap = AknIconUtils::CreateIconL( fp->FullName(), EMbmSplashscreenSf_startup_screen );
       
   366 #else
   364         iBitmap = AknIconUtils::CreateIconL( fp->FullName(), EMbmSplashscreenQgn_startup_screen );
   367         iBitmap = AknIconUtils::CreateIconL( fp->FullName(), EMbmSplashscreenQgn_startup_screen );
       
   368 #endif
   365         AknIconUtils::ExcludeFromCache(iBitmap);
   369         AknIconUtils::ExcludeFromCache(iBitmap);
   366         AknIconUtils::SetSize( iBitmap, iRect.Size(), EAspectRatioPreservedAndUnusedSpaceRemoved );
   370         AknIconUtils::SetSize( iBitmap, iRect.Size(), EAspectRatioPreservedAndUnusedSpaceRemoved );
   367         }
   371         }
   368     else
   372     else
   369         {
   373         {