From 1ca298ced07327749b54321815f76fcddb2f9479 Mon Sep 17 00:00:00 2001 From: Matthias Weisser Date: Thu, 9 Jul 2009 16:07:30 +0200 Subject: Added support for splash screen positioning This patch adds support splash image positioning by adding an additional variable "splashpos" to the environment. Please see README for details. Signed-off-by: Matthias Weisser Acked-by: Matthias Fuchs Signed-off-by: Anatolij Gustschin --- README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'README') diff --git a/README b/README index ca415d38b..7e43c21d2 100644 --- a/README +++ b/README @@ -1074,6 +1074,26 @@ The following options need to be configured: allows for a "silent" boot where a splash screen is loaded very quickly after power-on. + CONFIG_SPLASH_SCREEN_ALIGN + + If this option is set the splash image can be freely positioned + on the screen. Environment variable "splashpos" specifies the + position as "x,y". If a positive number is given it is used as + number of pixel from left/top. If a negative number is given it + is used as number of pixel from right/bottom. You can also + specify 'm' for centering the image. + + Example: + setenv splashpos m,m + => image at center of screen + + setenv splashpos 30,20 + => image at x = 30 and y = 20 + + setenv splashpos -10,m + => vertically centered image + at x = dspWidth - bmpWidth - 9 + - Gzip compressed BMP image support: CONFIG_VIDEO_BMP_GZIP If this option is set, additionally to standard BMP -- cgit v1.2.3