Commit Graph

2 Commits

Author SHA1 Message Date
Vladimir 'phcoder' Serbinenko abc474ef4b 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.
2011-04-19 00:44:53 +02:00
Colin D Bennett d920a32ab6 gfxmenu import 2009-11-20 16:02:58 +01:00