grub-devel
[Top][All Lists]
Advanced

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

[PATCH] [8/11] grub-core/gfxmenu/gui_list.c - new option: scrollbar_slic


From: Vladimir Testov
Subject: [PATCH] [8/11] grub-core/gfxmenu/gui_list.c - new option: scrollbar_slice
Date: Fri, 19 Jul 2013 17:41:38 +0400
User-agent: KMail/4.10.4 (Linux/3.8.0-26-generic; KDE/4.10.4; x86_64; ; )

scrollbar_slice = "east" \ "center" \ "west"

Typically, the scrollbar is drawn in the east slice.

Now we can decide where we would like it to be drawn.

"east", default value, works the same way as it was before.

"west" scrollbar is drawn to the left from the entry list, in the west slice.

"center" scrollbar is drawn in the center slice of the boot menu. That way we 
don't need to make special east slice of the menu decoration box 
(menu_pixmap_style). moreover, we no longer need to use menu_pixmap_style if 
we would like to see the scrollbar in the theme we are making. If there is no 
need to draw the scrollbar then item's width is maximal. If we need to draw 
the scrollbar then item's width will be decreased so the scrollbar will be 
drawn on the free space.

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

Attachment: grub-list-scrollbar-slice.patch
Description: Text Data

Attachment: west.png
Description: PNG image

Attachment: center.png
Description: PNG image

Attachment: center2.png
Description: PNG image

Attachment: east.png
Description: PNG image


reply via email to

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