* Allow menu options to use more horizontal space, and centre them on the

screen.
master
Colin Watson 16 years ago
parent 9f48be3e14
commit cce3e5c2ba

@ -613,8 +613,10 @@
0 1 menu.visible.entries 1 sub {
x y moveto currentpoint menu.bar.width menu.bar.height image
x menu.text.xofs add y menu.text.yofs add moveto
menu.texts exch menu.shift add get menuitemmap
x menu.bar.width 2 index strsize pop sub 2 div add
y menu.text.yofs add
moveto
currentfont exch font.large setfont show setfont
/y y menu.item.height add def
} for
@ -652,7 +654,6 @@
} ifelse
moveto
menu.text.xofs menu.text.yofs rmoveto
menu.status {
menu.text.select
} {
@ -660,6 +661,7 @@
} ifelse
setcolor
menu.texts menu.idx get menuitemmap
menu.bar.width over strsize pop sub 2 div menu.text.yofs rmoveto
currentfont exch font.large setfont show setfont
menu.status {
@ -1117,14 +1119,15 @@
/menu.bar.color black def
small_layout {
/frame1.pos { 190 208 } def
/frame1.size { 365 160 } def
/frame1.pos { 80 208 } def
/frame1.size { 480 160 } def
/frame4.pos { 560 62 } def
} {
/frame1.pos { 265 288 } def
/frame1.size { 365 170 } def
/frame1.pos { 160 288 } def
/frame1.size { 480 170 } def
/frame4.pos { 640 62 } def
} ifelse
/frame4.pos { 560 62 } def
/frame4.size { 22 264 } def
/menu.start.x frame1.pos pop 10 add def

2
debian/changelog vendored

@ -7,6 +7,8 @@ gfxboot-theme-ubuntu (0.5.3) UNRELEASED; urgency=low
https://wiki.ubuntu.com/HardyBootloaderReview for context.
* Allow the boot parameters line to occupy the full width of the screen
(LP: #27676) and handle redraws on language change better.
* Allow menu options to use more horizontal space, and centre them on the
screen.
-- Colin Watson <cjwatson@ubuntu.com> Wed, 13 Feb 2008 10:27:59 +0000

Loading…
Cancel
Save