summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-09 12:07:15 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-09 12:07:15 +0000
commita8872038a240eb80662573a825f53362648b3b3b (patch)
treeadb18b1266268bc0813203b7fb57366b3525bfa4
parentbbe7c42af068d986076d1d6d1d5338f75ef7c247 (diff)
downloaddrakx-a8872038a240eb80662573a825f53362648b3b3b.tar
drakx-a8872038a240eb80662573a825f53362648b3b3b.tar.gz
drakx-a8872038a240eb80662573a825f53362648b3b3b.tar.bz2
drakx-a8872038a240eb80662573a825f53362648b3b3b.tar.xz
drakx-a8872038a240eb80662573a825f53362648b3b3b.zip
write bootsplash v3 configuration files (progress bar still missing)
-rw-r--r--perl-install/bootsplash.pm42
1 files changed, 17 insertions, 25 deletions
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}
));
}