grub/term
Colin D Bennet c51a5caeab 2009-11-14 Colin D Bennet <colin@gibibit.com>
2009-11-14  Vladimir Serbinenko  <phcoder@gmail.com>

	Support for gfxterm in a window.

	* include/grub/gfxterm.h: New file.
	* include/grub/video.h (struct grub_video_rect): New declaration.
	(grub_video_rect_t): Likewise.
	* term/gfxterm.c (struct grub_gfxterm_window): New type.
	(refcount): New variable.
	(render_target): Likewise.
	(window): Likewise.
	(repaint_callback): Likewise.
	(grub_virtual_screen_setup): Use 'render_target'.
	(init_window): New function.
	(grub_gfxterm_init_window): Likewise.
	(grub_gfxterm_init): Check reference counter.
	Use init_window.
	(destroy_window): New function.
	(grub_gfxterm_destroy_window): Likewise.
	(grub_gfxterm_fini): Check reference counter.
	Use destroy_window.
	(redraw_screen_rect): Restore viewport.
	Use 'render_target' and 'window'.
	Call 'repaint_callback'.
	(write_char): Use 'render_target'.
	(draw_cursor): Likewise.
	(scroll_up): Restore viewport.
	Use 'render_target' and 'window'.
	Call 'repaint_callback'.
	(grub_gfxterm_cls): Likewise.
	(grub_gfxterm_refresh): Use 'window'.
	(grub_gfxterm_set_repaint_callback): New function.
	(grub_gfxterm_background_image_cmd): Use 'window'.
	(grub_gfxterm_get_term): New function.
	(GRUB_MOD_INIT(term_gfxterm)): Set 'refcount' to 0.

	Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2009-11-15 00:03:03 +01:00
..
efi remove all trailing whitespace 2009-06-10 21:04:23 +00:00
i386 2009-09-24 Robert Millan <rmh.grub@aybabtu.com> 2009-09-24 13:25:07 +00:00
ieee1275 remove all trailing whitespace 2009-06-10 21:04:23 +00:00
gfxterm.c 2009-11-14 Colin D Bennet <colin@gibibit.com> 2009-11-15 00:03:03 +01:00
terminfo.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
tparm.c 2009-10-12 Robert Millan <rmh.grub@aybabtu.com> 2009-10-12 21:53:15 +00:00
usb_keyboard.c 2009-09-20 Robert Millan <rmh.grub@aybabtu.com> 2009-09-20 16:07:45 +00:00