grub/grub-core/video
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
..
emu Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
fb Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
i386/pc Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
readers Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
bitmap.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
bitmap_scale.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
bochs.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
cirrus.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
colors.c Move gfxmenu color handling to video, so that gfxterm can use it 2010-12-10 16:45:58 +00:00
efi_gop.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
efi_uga.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
ieee1275.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
sis315_init.c Fuloong video init support. 2011-05-16 02:34:58 +02:00
sis315pro.c Fuloong video init support. 2011-05-16 02:34:58 +02:00
sm712.c merge with mainline 2010-08-19 16:54:00 +05:30
sm712_init.c merge with mainline 2010-08-19 16:54:00 +05:30
video.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00