grub/conf
robertmh 0ece25b1e1 2008-01-05 Robert Millan <rmh@aybabtu.com>
* include/grub/normal.h (grub_env_write_color_normal): New prototype.
	(grub_env_write_color_highlight): Likewise.
	(grub_wait_after_message): Likewise.

	* normal/color.c: New file.

	* conf/i386-pc.rmk (grub_emu_SOURCES): Add `normal/color.c'.
	(normal_mod_DEPENDENCIES): Likewise.

	* conf/i386-efi.rmk (grub_emu_SOURCES): Add `normal/color.c'.
	(normal_mod_DEPENDENCIES): Likewise.

	* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add `normal/color.c'.
	(normal_mod_DEPENDENCIES): Likewise.

	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `normal/color.c'.
	(normal_mod_DEPENDENCIES): Likewise.

	* normal/menu_entry.c (run): Rely on grub_wait_after_message()
	for waiting after a message is printed.
	* normal/main.c (read_config_file): Likewise.
	(grub_normal_init): Register grub_env_write_color_normal() and
	grub_env_write_color_highlight() hooks.  Mark `color_normal' and
	`color_highlight' variables as global.

	* normal/menu.c (grub_wait_after_message): New function.
	(grub_color_menu_normal): New variable.  Replaces ...
	(GRUB_COLOR_MENU_NORMAL): ... this macro.
	(grub_color_menu_highlight): New variable.  Replaces ...
	(GRUB_COLOR_MENU_HIGHLIGHT): ... this macro.
	(draw_border): Set color state to `GRUB_TERM_COLOR_NORMAL' instead of
	`GRUB_TERM_COLOR_STANDARD'.
	(print_message): Use `grub_setcolorstate' to reload colors.  Rename
	`normal_code' and `highlight_code' to `old_color_normal' and
	`old_color_highlight', respectively.
	(grub_menu_init_page): Update colors when drawing the menu, based on
	`menu_color_normal' and `menu_color_highlight' variables.
	(grub_menu_run): Rely on grub_wait_after_message() for waiting after
	a message is printed.
2008-01-05 12:10:28 +00:00
..
common.mk 2007-12-26 Bean <bean123ch@gmail.com> 2007-12-26 07:51:19 +00:00
common.rmk 2007-12-26 Bean <bean123ch@gmail.com> 2007-12-26 07:51:19 +00:00
i386-efi.mk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
i386-efi.rmk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
i386-linuxbios.mk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
i386-linuxbios.rmk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
i386-pc.mk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
i386-pc.rmk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
powerpc-ieee1275.mk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
powerpc-ieee1275.rmk 2008-01-05 Robert Millan <rmh@aybabtu.com> 2008-01-05 12:10:28 +00:00
sparc64-ieee1275.mk 2007-12-25 Robert Millan <rmh@aybabtu.com> 2007-12-25 09:09:43 +00:00
sparc64-ieee1275.rmk 2007-12-25 Robert Millan <rmh@aybabtu.com> 2007-12-25 09:09:43 +00:00