|
|
|
@ -5,7 +5,7 @@ fun imglogo( image, scaleX, scaleY ) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#----------------------------------------- Ptogress Bar __________________________ |
|
|
|
|
|
|
|
|
|
#Boot |
|
|
|
|
if (Plymouth.GetMode () == "boot") |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
@ -54,6 +54,24 @@ if (Plymouth.GetMode () == "boot") |
|
|
|
|
if (Plymouth.GetMode () == "shutdown") |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
# background |
|
|
|
|
if( Window.GetWidth()/Window.GetHeight() > 1.5 ) |
|
|
|
|
{ |
|
|
|
|
logo.raw = Image("shutdown16x9.png"); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
logo.raw = Image("shutdown4x3.png"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
logo.image = imglogo( logo.raw, Window.GetWidth()/logo.raw.GetWidth(), Window.GetHeight()/logo.raw.GetHeight()); |
|
|
|
|
logo.sprite = Sprite(logo.image); |
|
|
|
|
logo.sprite.SetPosition(0, 0, 0); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if (Plymouth.GetMode () == "reboot") |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
# background |
|
|
|
|
if( Window.GetWidth()/Window.GetHeight() > 1.5 ) |
|
|
|
|
{ |
|
|
|
|