grub/grub-core/normal
Vladimir 'phcoder' Serbinenko 8b8a81fa6a Dynamically count the number of lines for the lower banner.
* grub-core/normal/menu_entry.c (per_term_screen): New member
	num_entries.
	(print_down): Use num_entries.
	(update_screen): Likewise.
	(grub_menu_entry_run): Set num_entries.
	* grub-core/normal/menu_text.c (menu_viewer_data): New member
	num_entries.
	(grub_print_message_indented): Move real part to ...
	(grub_print_message_indented_real): ... here. Additional argument
	dry_run.
	(draw_border): Additional argument num_entries.
	(print_message): Additional argument dry_run.
	(print_entries): Receive menu viewer data.
	(grub_menu_init_page): New argment num_entries.
	(menu_text_set_chosen_entry): Use num_entries.
	(grub_menu_try_text): Likewise.
	* grub-core/normal/term.c (print_ucs4_terminal): New argument dry_run.
	All users updated.
	(grub_ucs4_count_lines): New function.
	* include/grub/term.h (grub_term_cursor_x): Moved from here ..
	* grub-core/normal/menu_text.c (grub_term_cursor_x): ... to here.
	* include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): Removed.
	(grub_term_border_height): Likewise.
	(grub_term_num_entries): Likewise.
2011-04-10 13:56:23 +02:00
..
auth.c * grub-core/bus/usb/usb.c (attach_hooks): Make static. 2011-03-23 12:05:13 +01:00
autofs.c automake commit without merge history 2010-05-06 11:34:04 +05:30
charset.c Make better UTF compliant. 2010-11-17 16:13:16 +01:00
cmdline.c * grub-core/efiemu/i386/pc/cfgtables.c 2011-03-23 12:08:33 +01:00
color.c * grub-core/normal/color.c (grub_env_write_color_normal): Fix a warning. 2010-08-30 01:12:37 +02:00
completion.c Support some annoying BSD and Minix subpartitions. 2010-09-20 21:45:06 +02:00
context.c * grub-core/bus/usb/usb.c (attach_hooks): Make static. 2011-03-23 12:05:13 +01:00
crypto.c * grub-core/bus/usb/usb.c (attach_hooks): Make static. 2011-03-23 12:05:13 +01:00
datetime.c automake commit without merge history 2010-05-06 11:34:04 +05:30
dyncmd.c * include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All 2010-09-14 23:06:01 +02:00
main.c * grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable. 2011-03-23 12:40:15 +01:00
menu.c * grub-core/normal/menu.c: Add missing include. 2011-04-08 12:12:02 +02:00
menu_entry.c Dynamically count the number of lines for the lower banner. 2011-04-10 13:56:23 +02:00
menu_text.c Dynamically count the number of lines for the lower banner. 2011-04-10 13:56:23 +02:00
misc.c * grub-core/normal/misc.c (grub_normal_print_device_info): Use correct 2011-03-29 11:25:04 +02:00
term.c Dynamically count the number of lines for the lower banner. 2011-04-10 13:56:23 +02:00