grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] multistring support in gui_label


From: Vladimir Testov
Subject: [PATCH] multistring support in gui_label
Date: Thu, 21 Mar 2013 21:17:51 +0400
User-agent: KMail/4.9.5 (Linux/3.5.0-26-generic; KDE/4.9.5; x86_64; ; )

This time I've managed not to break backward compatibility.

New option in label - "multistring"

It is "false" by default.

when it is set to "true" (not "false") text is beeing output on multiple 
lines.

see screenshots included

let me know if I've made smth wrong.

Thanks. :)
_______________
theme.txt:

+ label {
        left = 100
        top = 20
        height = 100
        width = 600
        color = "cyan"
        align = "right"
        text = "@KEYMAP_LONG@"
       multistring = "true"
}
+ label {
        left = 100
        top = 120
        height = 300
        width = 60
        color = "cyan"
        align = "right"
        text = "@KEYMAP_LONG@"
       multistring = "true"
}
+ label {
        left = 20
        top = 50
        height = 600
        width = 1
        color = "cyan"
        align = "right"
        text = "@KEYMAP_LONG@"
       multistring = "true"
}


-- 
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru

Attachment: grub-2.00-label-multistring.patch
Description: Text Data

Attachment: after-label.png
Description: PNG image

Attachment: before-label.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]