Ticket #1999: stpere_bootsplash.diff
File stpere_bootsplash.diff, 1.2 KB (added by , 16 years ago) |
---|
-
src/system/kernel/boot_splash.cpp
191 191 192 192 // TODO: Use placement info from images.h 193 193 int x = sInfo->width / 2 - kSplashIconsWidth / 2; 194 int y = sInfo->height / 2 - kSplashLogoHeight / 2; 195 y = y + kSplashLogoHeight; 194 int y = sInfo->height / 2 - kSplashIconsHeight / 2; 196 195 197 196 int stageLeftEdge = kSplashIconsWidth * stage / BOOT_SPLASH_STAGE_MAX; 198 197 int stageRightEdge = kSplashIconsWidth * (stage + 1) -
src/system/boot/platform/bios_ia32/video.cpp
862 862 863 863 // render splash logo 864 864 int x = gKernelArgs.frame_buffer.width / 2 - kSplashLogoWidth / 2; 865 int y = gKernelArgs.frame_buffer.height / 2 - kSplashLogoHeight / 2; 865 int y = gKernelArgs.frame_buffer.height / 2 - kSplashIconsHeight / 2; 866 y -= kSplashLogoHeight; 866 867 blit_image(kSplashLogoImage, NULL, kSplashLogoWidth, kSplashLogoHeight, 867 868 NULL, x, y); 868 869