Plymouth theme update

Fix for bullets for 95 theme.
Fix for RetroTux. Script and theme file were somehow corrupt???
This commit is contained in:
EMH-Mark-I 2018-02-11 13:25:55 -06:00
parent 8823343ef7
commit ea37c1ab9d
16 changed files with 10 additions and 5 deletions

View File

@ -20,16 +20,16 @@ boot_sprite = Sprite();
progress = 0;
fun refresh_callback ()
{
resized_image = boot_images[Math.Int(progress) % 18].Scale(screen_width, screen_height);
resized_image = boot_images[Math.Int(progress)].Scale(screen_width, screen_height);
boot_sprite.SetImage(resized_image);
progress++;
}
Plymouth.SetRefreshFunction (refresh_callback);
#----------------------------------------- Dialogue --------------------------------
status = "normal";
@ -54,7 +54,7 @@ fun dialog_setup()
lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
lock.z = box.z + 1;
lock.sprite.SetPosition(lock.x, lock.y, lock.z);
lock.sprite.SetPosition(lock.x - 8, lock.y, lock.z);
entry.sprite = Sprite(entry.image);
entry.x = lock.x + lock.image.GetWidth();
@ -94,12 +94,12 @@ fun display_password_callback (prompt, bullets)
dialog_setup();
else
dialog_opacity(1);
for (index = 0; dialog.bullet[index] || index < bullets; index++)
for (index = 0; dialog.bullet[index] || index < 19; index++)
{
if (!dialog.bullet[index])
{
dialog.bullet[index].sprite = Sprite(dialog.bullet_image);
dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth() + 4;
dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
dialog.bullet[index].z = dialog.entry.z + 1;
dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);

BIN
Plymouth/RetroTux/RetroTux.plymouth Executable file → Normal file

Binary file not shown.

BIN
Plymouth/RetroTux/RetroTux.script Executable file → Normal file

Binary file not shown.

0
Plymouth/RetroTux/fsck-fade.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 138 B

0
Plymouth/RetroTux/fsck-fade_16bit.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 138 B

View File

@ -0,0 +1,5 @@
sudo update-alternatives --install /usr/share//plymouth/themes/default.plymouth default.plymouth /usr/share//plymouth/themes/RetroTux/RetroTux.plymouth 100
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u

0
Plymouth/RetroTux/logo.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 941 B

After

Width:  |  Height:  |  Size: 941 B

0
Plymouth/RetroTux/logo_16bit.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 891 B

After

Width:  |  Height:  |  Size: 891 B

0
Plymouth/RetroTux/passw-dialog.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

0
Plymouth/RetroTux/progress-fade.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 161 B

0
Plymouth/RetroTux/progress-fade_16bit.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 136 B

0
Plymouth/RetroTux/progress-meter.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 236 B

0
Plymouth/RetroTux/progress-meter_16bit.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 88 B

After

Width:  |  Height:  |  Size: 88 B

0
Plymouth/RetroTux/spinner.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 355 B

0
Plymouth/RetroTux/test.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 195 B

0
Plymouth/RetroTux/wallpaper.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB