diff options
| author | Jonathan Bauer | 2013-08-01 17:32:32 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-08-01 17:32:32 +0200 |
| commit | 438a3a3224db0876ab22c733d9e62c8a774aaa11 (patch) | |
| tree | 18b5b1727d6a8fcb68331be2ee110f24f022b6c4 /remote/modules | |
| parent | [rootfs-stage32] added /etc/nsswitch.conf with standard config (diff) | |
| download | tm-scripts-438a3a3224db0876ab22c733d9e62c8a774aaa11.tar.gz tm-scripts-438a3a3224db0876ab22c733d9e62c8a774aaa11.tar.xz tm-scripts-438a3a3224db0876ab22c733d9e62c8a774aaa11.zip | |
[plymouth] move uni fr theme for plymouth to config for freiburg
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/default.plymouth | 8 | ||||
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_banner_trans.png | bin | 15730 -> 0 bytes | |||
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_logo_trans.png | bin | 4309 -> 0 bytes | |||
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.plymouth | 9 | ||||
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.script | 116 | ||||
| -rw-r--r-- | remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/white_dot_small.png | bin | 376 -> 0 bytes |
6 files changed, 0 insertions, 133 deletions
diff --git a/remote/modules/plymouth/data/share/plymouth/themes/default.plymouth b/remote/modules/plymouth/data/share/plymouth/themes/default.plymouth deleted file mode 100644 index 8499e451..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/default.plymouth +++ /dev/null @@ -1,8 +0,0 @@ -[Plymouth Theme] -Name=Uni-Freiburg Basic Theme -Description=Uni-Freiburg simple blue-ish theme with simple progress bar -ModuleName=script - -[script] -ImageDir=/share/plymouth/themes/unifr-rz -ScriptFile=/share/plymouth/themes/unifr-rz/unifr-rz.script diff --git a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_banner_trans.png b/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_banner_trans.png Binary files differdeleted file mode 100644 index 9cb68040..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_banner_trans.png +++ /dev/null diff --git a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_logo_trans.png b/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_logo_trans.png Binary files differdeleted file mode 100644 index 16b069cc..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/rz_logo_trans.png +++ /dev/null diff --git a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.plymouth b/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.plymouth deleted file mode 100644 index 0f300f6b..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.plymouth +++ /dev/null @@ -1,9 +0,0 @@ -[Plymouth Theme] -Name=Simple RZ Theme -Description=Simple blue RZ theme with progress bar. -ModuleName=script - -[script] -ImageDir=/lib/plymouth/themes/unifr-rz -ScriptFile=/lib/plymouth/themes/unifr-rz/unifr-rz.script - diff --git a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.script b/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.script deleted file mode 100644 index f2d8bd28..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/unifr-rz.script +++ /dev/null @@ -1,116 +0,0 @@ -Window.SetBackgroundTopColor(0.00, 0.21, 0.57); -#Window.SetBackgroundBottomColor(0.00, 0.17, 0.95); - -title_left_image = Image("rz_banner_trans.png"); -title_right_image = Image("rz_logo_trans.png"); -title_left_sprite = Sprite(title_left_image); -title_right_sprite = Sprite(title_right_image); - -title_right_sprite.SetX(Window.GetWidth() - title_right_image.GetWidth()); - -dot.image = Image("white_dot_small.png"); -dot.sprite1 = Sprite(dot.image); -dot.sprite2 = Sprite(dot.image); -dot.sprite3 = Sprite(dot.image); -dot.sprite4 = Sprite(dot.image); -dot.sprite5 = Sprite(dot.image); - -#----------------------------------------- Progress Dots -------------------------------- - -dot.x = Window.GetWidth() / 2 - dot.image.GetWidth() / 2; -dot.y = Window.GetHeight() * 0.75 - dot.image.GetHeight() / 2; -dot.spacing = Window.GetWidth() / 15; - -# place 5 centered dots -dot.sprite1.SetPosition(dot.x - 2 * dot.spacing, dot.y, 1); -dot.sprite2.SetPosition(dot.x - dot.spacing, dot.y, 1); -dot.sprite3.SetPosition(dot.x, dot.y, 1); -dot.sprite4.SetPosition(dot.x + dot.spacing, dot.y, 1); -dot.sprite5.SetPosition(dot.x + 2 * dot.spacing, dot.y, 1); - -# set opacity -dot.sprite1.SetOpacity(0.1); -dot.sprite2.SetOpacity(0.1); -dot.sprite3.SetOpacity(0.1); -dot.sprite4.SetOpacity(0.1); -dot.sprite5.SetOpacity(0.1); - -fun progress_callback (duration, progress) - { - phase = Math.Int(duration * 2) % 10; - - if ( phase == 1 ) - { - fade_out(dot.sprite5); - fade_in(dot.sprite1); - } - - if ( phase == 2 ) - { - fade_out(dot.sprite1); - fade_in(dot.sprite2); - } - - if ( phase == 3 ) - { - fade_out(dot.sprite2); - fade_in(dot.sprite3); - } - - if ( phase == 4 ) - { - fade_out(dot.sprite3); - fade_in(dot.sprite4); - } - - if ( phase == 5 ) - { - fade_out(dot.sprite4); - fade_in(dot.sprite5); - } - - if ( phase == 6 ) - { - fade_out(dot.sprite5); - fade_in(dot.sprite1); - } - - if ( phase == 7 ) - { - fade_out(dot.sprite1); - fade_in(dot.sprite2); - } - - if ( phase == 8 ) - { - fade_out(dot.sprite2); - fade_in(dot.sprite3); - } - - if ( phase == 9 ) - { - fade_out(dot.sprite3); - fade_in(dot.sprite4); - } - - if ( phase == 0 ) - { - fade_out(dot.sprite4); - if ( Math.Int(duration) > 0 ) - { fade_in(dot.sprite5); } - } - } - -fun fade_in(sprite) -{ - if ( sprite.GetOpacity() + 0.1 < 1 ) - { sprite.SetOpacity(sprite.GetOpacity() + 0.1);} -} - -fun fade_out(sprite) -{ - if ( sprite.GetOpacity() - 0.1 > 0.1 ) - { sprite.SetOpacity(sprite.GetOpacity() - 0.1);} -} - -Plymouth.SetBootProgressFunction(progress_callback); diff --git a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/white_dot_small.png b/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/white_dot_small.png Binary files differdeleted file mode 100644 index 4fd4be30..00000000 --- a/remote/modules/plymouth/data/share/plymouth/themes/unifr-rz/white_dot_small.png +++ /dev/null |
