From a8872038a240eb80662573a825f53362648b3b3b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 9 May 2005 12:07:15 +0000 Subject: write bootsplash v3 configuration files (progress bar still missing) --- perl-install/bootsplash.pm | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) (limited to 'perl-install/bootsplash.pm') diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm index e5b7ccac6..63528e480 100644 --- a/perl-install/bootsplash.pm +++ b/perl-install/bootsplash.pm @@ -117,40 +117,32 @@ sub theme_write_config_for_resolution { # this file is necessary to specify the coordinates of the text box on the # splash screen. -# tx is the x coordinate of the text window in characters. default is 24 -# multiply width font width for coordinate in pixels. -tx=$conf->{tx} +# config file version +version=3 -# ty is the y coordinate of the text window in characters. default is 14 -ty=$conf->{ty} +# should the picture be displayed? +state=1 -# tw is the width of the text window in characters. default is 130 -# note: this should at least be 80 as on the standard linux text console -tw=$conf->{tw} +# fgcolor is the text forground color. +# bgcolor is the text background (i.e. transparent) color. +fgcolor=7 +bgcolor=0 -# th is the height of the text window in characters. default is 44 -# NOTE: this should at least be 25 as on the standard linux text console +# (tx, ty) are the (x, y) coordinates of the text window in pixels. +# tw/th is the width/height of the text window in pixels. +tx=$conf->{tx} +ty=$conf->{ty} +tw=$conf->{tw} th=$conf->{th} -# px is the progress bar x coordinate of its upper left corner -px=$conf->{px} - -# py is the progress bar y coordinate of its upper left corner -py=$conf->{py} - -# pw is the with of the progress bar -pw=$conf->{pw} - -# ph is the height of the progress bar -ph=$conf->{ph} - -# pc is the color of the progress bar -pc=$conf->{pc} +# name of the picture file (full path recommended) +jpeg=$conf->{jpeg} +silentjpeg=$conf->{silentjpeg} progress_enable=1 overpaintok=1 -# Display logo on console. + LOGO_CONSOLE=$conf->{LOGO_CONSOLE} )); } -- cgit v1.2.1