Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
branding-etersoft-ximper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
branding-etersoft-ximper
Commits
b1fe69c4
Commit
b1fe69c4
authored
Apr 02, 2013
by
Mikhail Efremov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plymouth theme: Use scaling for logo.
parent
a58e1a1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
theme.script
components/bootsplash/theme.script
+4
-1
No files found.
components/bootsplash/theme.script
View file @
b1fe69c4
...
...
@@ -104,9 +104,12 @@ Plymouth.SetDisplayNormalFunction(display_normal_callback);
Plymouth.SetDisplayPasswordFunction(display_password_callback);
#----------------------------------------- Logo --------------------------------
slinux_logo.image = Image ("slinux.png");
slinux_logo.raw = Image ("slinux.png");
scale_factor = Window.GetHeight() / slinux_logo.raw.GetHeight() * 0.5;
slinux_logo.image = imgscale (slinux_logo.raw, scale_factor);
slinux_logo.sprite = Sprite (slinux_logo.image);
slinux_logo.sprite.SetOpacity (0);
slinux_logo.x = Window.GetX() + Window.GetWidth() / 2 - slinux_logo.image.GetWidth() / 2;
slinux_logo.y = Window.GetY() + Window.GetHeight() / 2 - slinux_logo.image.GetHeight() / 2;
slinux_logo.sprite.SetPosition (slinux_logo.x, slinux_logo.y, 0);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment