|
|
@ -33,7 +33,7 @@ if (Plymouth.GetMode () == "boot") |
|
|
|
progress_bar.original_image = Image("progress_bar.png"); |
|
|
|
progress_bar.original_image = Image("progress_bar.png"); |
|
|
|
progress_bar.sprite = Sprite(); |
|
|
|
progress_bar.sprite = Sprite(); |
|
|
|
|
|
|
|
|
|
|
|
progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2; |
|
|
|
progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2; |
|
|
|
#change here |
|
|
|
#change here |
|
|
|
progress_bar.y = Window.GetY() + Window.GetHeight() / 2 * 1.3 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2; |
|
|
|
progress_bar.y = Window.GetY() + Window.GetHeight() / 2 * 1.3 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2; |
|
|
|
progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1); |
|
|
|
progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1); |
|
|
|