grub/grub-core
Colin Watson e2965f4a32 Move gfxmenu color handling to video, so that gfxterm can use it
too.

* grub-core/gfxmenu/named_colors.c: Move to ...
* grub-core/video/colors.c: ... here.  Rename
grub_gui_get_named_color to grub_video_get_named_color.
* grub-core/gfxmenu/gui_string_util.c (my_isxdigit): Move to ...
* grub-core/video/colors.c (my_isxdigit): ... here.
* grub-core/gfxmenu/gui_string_util.c (parse_hex_color_component):
Move to ...
* grub-core/video/colors.c (parse_hex_color_component): ... here.
* grub-core/gfxmenu/gui_string_util.c (grub_gui_parse_color): Move
to ...
* grub-core/video/colors.c (grub_video_parse_color): ... here.

* include/grub/gui.h (grub_gui_color_t): Move to ...
* include/grub/video.h (grub_video_rgba_color_t): ... here.
* include/grub/gui.h (grub_gui_color_rgb): Move to ...
* include/grub/video.h (grub_video_rgba_color_rgb): ... here.
* include/grub/gui.h (grub_gui_map_color): Move to ...
* include/grub/video.h (grub_video_map_rgba_color): ... here.
* include/grub/gui_string_util.h (grub_gui_get_named_color): Move
to ...
* include/grub/video.h (grub_video_get_named_color): ... here.
* include/grub/gui_string_util.h (grub_gui_parse_color): Move to ...
* include/grub/video.h (grub_video_parse_color): ... here.

* grub-core/Makefile.core.def (kernel) [videoinkernel]: Add
video/colors.c.
(gfxmenu): Remove gfxmenu/named_colors.c.
(video) [videomodules]: Add video/colors.c.

Add a background_color command.

* grub-core/term/gfxterm.c (grub_gfxterm_background_color_cmd): New
function.
(GRUB_MOD_INIT): Register background_color command.
(GRUB_MOD_FINI): Unregister background_color command.
(redraw_screen_rect): Allow blend/replace of text layer to be
controlled independently from whether there is a background bitmap.
(grub_gfxterm_background_image_cmd): Change blend_text_bg when
changing bitmap.
2011-05-18 12:44:24 +01:00
..
boot Avoid unnecessary copying on MIPS. 2011-05-17 21:40:35 +02:00
bus * grub-core/bus/pci.c (grub_memalign_dma32): Always allocate in 64-byte 2011-05-16 08:51:55 +02:00
commands merge mainline into sgi 2011-05-15 02:23:36 +02:00
disk enable ATA on qemu-mips 2011-05-17 14:35:55 +02:00
efiemu * grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno 2011-05-05 01:26:16 +02:00
font * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno 2011-05-14 22:29:27 +02:00
fs * grub-core/fs/fat.c: Include grub/fat.h. 2011-05-18 12:48:14 +02:00
gettext Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gfxmenu merge trunk 2011-04-21 11:07:10 +01:00
gnulib * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's 2011-04-25 15:29:41 +02:00
hello Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hook Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
io Squashfs v4 support. 2011-05-15 11:58:22 +02:00
kern Improve devmapper support 2011-05-18 09:35:47 +02:00
lib FreeDOS direct loading support. 2011-05-18 12:15:16 +02:00
loader * grub-core/fs/fat.c: Include grub/fat.h. 2011-05-18 12:48:14 +02:00
mmap Fuloong support. 2011-05-15 01:43:44 +02:00
normal * grub-core/fs/fat.c: Include grub/fat.h. 2011-05-18 12:48:14 +02:00
partmap SGI ARCS port. 2011-05-17 09:17:38 +02:00
parttool Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
script * grub-core/normal/menu_entry.c (run): Quieten uninitialised 2011-04-01 11:43:51 +01:00
term Move gfxmenu color handling to video, so that gfxterm can use it 2011-05-18 12:44:24 +01:00
tests Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
video Move gfxmenu color handling to video, so that gfxterm can use it 2011-05-18 12:44:24 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in Fix compilation on cygwin. 2011-01-13 22:23:49 +01:00
genmoddep.awk use objcopy instead of creating mod-*.c and mod-*.o 2010-08-29 16:43:07 +05:30
gensyminfo.sh.in remove def-* and und-* list files 2010-08-29 11:17:30 +05:30
gensymlist.sh track function symbols 2011-05-08 18:29:37 +02:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
Makefile.am Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00
Makefile.core.def Move gfxmenu color handling to video, so that gfxterm can use it 2011-05-18 12:44:24 +01:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00