]> git.ipfire.org Git - thirdparty/grub.git/commit
Take into account the decorations the computing menu entry width.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 18 Apr 2011 22:44:53 +0000 (00:44 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 18 Apr 2011 22:44:53 +0000 (00:44 +0200)
commitabc474ef4bb79cd21e5510c302309ab87008ef65
tree7fb783c31bdc115b21389f09d8013290eb7c02f6
parente74b3947af1d11b8279706e07302ed0debe82779
Take into account the decorations the computing menu entry width.

* grub-core/gfxmenu/widget-box.c (get_border_width): New function.
(grub_gfxmenu_create_box): Register get_border_width.
* grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width
if available.
* include/grub/gfxwidgets.h (grub_gfxmenu_box): New member
get_border_width.
ChangeLog
grub-core/gfxmenu/gui_list.c
grub-core/gfxmenu/widget-box.c
include/grub/gfxwidgets.h