Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze Plymouth visual style
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Breeze Plymouth visual style
Commits
8c727425
Commit
8c727425
authored
Nov 14, 2017
by
Harald Sitter
🕵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this isn't c89, dont' needlessly declare variables before defintion
parent
e864b867
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
breeze/breeze.script.cmake
breeze/breeze.script.cmake
+5
-13
No files found.
breeze/breeze.script.cmake
View file @
8c727425
...
...
@@ -229,15 +229,9 @@ global.logger = Logger();
* password prompt and so forth.
*/
fun
TextYOffset
()
{
local.y;
local.text_height;
local.max_y;
// Put the 1st line below the logo.
y = spin.
GetY
()
+ spin.
GetHeight
()
;
text_height = first_line_height * 7.5;
local.y = spin.
GetY
()
+ spin.
GetHeight
()
;
local.text_height = first_line_height * 7.5;
// The maximum Y we may end at, if we exceed this we'll try to scoot up
// a bit. This includes the Window offset itself as we position ourselves
// relative to the Spinner which is relative to the Logo which is relative
...
...
@@ -470,7 +464,6 @@ Plymouth.SetBootProgressFunction (boot_progress_cb);
#
fun
get_message_label
(
label, is_fake, is_action_line
)
{
# Debug("Get Label position");
local.message_label;
if
(
is_fake
)
# Create a fake label so as to get the y coordinate of
...
...
@@ -479,6 +472,7 @@ fun get_message_label (label, is_fake, is_action_line) {
else
local.message_image =
(
is_action_line
)
&&
ImageToActionText
(
label
)
||
ImageToTintedText
(
label
)
;
local.message_label = [];
message_label.width = message_image.
GetWidth
()
;
message_label.height = message_image.
GetHeight
()
;
...
...
@@ -610,10 +604,8 @@ Plymouth.SetMessageFunction (message_callback);
fun
password_dialog_setup
(
message_label
)
{
# Debug("Password dialog setup");
local.entry;
local.bullet_image;
bullet_image =
WriteText
(
"•"
, palette.text.contrast
)
;
local.bullet_image =
WriteText
(
"•"
, palette.text.contrast
)
;
local.entry = [];
entry.image =
Image
(
assets.text_input
)
;
# Hide the normal labels
...
...
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