# HG changeset patch # User William Roberts # Date 1272029837 -3600 # Node ID c82a39b81a38398e9726dfa99adb4941b8f37bc3 # Parent 5964140ed25a642fe40e768e371451c5e01856ed# Parent cf376912743d1fc0a1d2fc414951aeda236640c3 Rework addition of Symbian splash screen to reduce the source impact (uses SVG from Bug 2414) Notes: by using the OPTION SOURCEDIR parameter in the mifconv extension instructions, I can arrange to use the same source file name in sfimage, without having to export over the original Nokia file. This means that the name inside splashscreen.mbg is the same, which removes the need for the conditional compilation in SplashScreen.cpp, and gets rid of sf_splashscreen.mmp. diff -r 5964140ed25a -r c82a39b81a38 startupservices/SplashScreen/group/bld.inf --- a/startupservices/SplashScreen/group/bld.inf Wed Apr 14 16:08:26 2010 +0300 +++ b/startupservices/SplashScreen/group/bld.inf Fri Apr 23 14:37:17 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -18,6 +18,7 @@ #include +#define USE_SF_SPLASH_SVG //comment this to use standard S60 splash icon PRJ_PLATFORMS DEFAULT @@ -32,5 +33,9 @@ START EXTENSION s60/mifconv OPTION TARGETFILE splashscreen.mif OPTION HEADERFILE splashscreen.mbg +#ifdef USE_SF_SPLASH_SVG + // use the local file (also called qgn_startup_screen to keep the mbg file the same) + OPTION SOURCEDIR ../sfimage +#endif OPTION SOURCES -c8 qgn_startup_screen END diff -r 5964140ed25a -r c82a39b81a38 startupservices/SplashScreen/sfimage/qgn_startup_screen.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/startupservices/SplashScreen/sfimage/qgn_startup_screen.svg Fri Apr 23 14:37:17 2010 +0100 @@ -0,0 +1,10 @@ + + +]> + + + + + + diff -r 5964140ed25a -r c82a39b81a38 startupservices/SplashScreen/src/SplashScreen.cpp