Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. logo.image = Image (logo.jpg);
  2. logo.sprite = Sprite ();
  3. logo.sprite.SetImage (logo.image);
  4. logo.width = logo.image.GetWidth ();
  5. logo.height = logo.image.GetHeight ();
  6. logo.x = Window.GetX () + Window.GetWidth () / 2 - logo.width / 2;
  7. logo.y = Window.GetY () + Window.GetHeight () / 2 - logo.height;
  8. logo.z = 1000;
  9. logo.sprite.SetX (logo.x);
  10. logo.sprite.SetY (logo.y);
  11. logo.sprite.SetZ (logo.z);
  12. logo.sprite.SetOpacity (1);
  13.  
  14. [Plymouth Theme]
  15. Name=Ubuntu Logo
  16. Description=A theme that features a blank background with a logo.
  17. ModuleName=script
  18.  
  19. [script]
  20. ImageDir=/usr/share/plymouth/themes/ubuntu-logo
  21. ScriptFile=/usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement