Przeglądaj źródła

Only use/include largest sizes of the default wizard images because they still look great when downsized. Reduces the .res from 244 kb to 132 kb.

Martijn Laan 8 miesięcy temu
rodzic
commit
f46ea42f30

BIN
Projects/Res/ISCmplr.images.res


+ 2 - 2
Projects/Src/Compiler.SetupCompiler.pas

@@ -7642,7 +7642,7 @@ begin
       end;
       WizardImages := CreateMemoryStreamsFromFiles('WizardImageFile', WizardImageFile)
     end else
-      WizardImages := CreateMemoryStreamsFromResources(['WizardImage'], ['100', '150']);
+      WizardImages := CreateMemoryStreamsFromResources(['WizardImage'], ['150']);
     LineNumber := SetupDirectiveLines[ssWizardSmallImageFile];
     AddStatus(Format(SCompilerStatusReadingFile, ['WizardSmallImageFile']));
     if WizardSmallImageFile <> '' then begin
@@ -7652,7 +7652,7 @@ begin
       end;
       WizardSmallImages := CreateMemoryStreamsFromFiles('WizardSmallImage', WizardSmallImageFile)
     end else
-      WizardSmallImages := CreateMemoryStreamsFromResources(['WizardSmallImage'], ['100', '125', '150', '175', '200', '225', '250']);
+      WizardSmallImages := CreateMemoryStreamsFromResources(['WizardSmallImage'], ['250']);
     LineNumber := 0;
 
     { Prepare Setup executable & signed uninstaller data }