* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Get font as

argument rather than font name. All users updated.
	(grub_gfxterm_set_window): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-12-10 16:07:33 +01:00
parent b9f5ebd65c
commit 969b804f2a
4 changed files with 28 additions and 10 deletions

View file

@ -23,12 +23,13 @@
#include <grub/types.h>
#include <grub/term.h>
#include <grub/video.h>
#include <grub/font.h>
grub_err_t
EXPORT_FUNC (grub_gfxterm_set_window) (struct grub_video_render_target *target,
int x, int y, int width, int height,
int double_repaint,
const char *font_name, int border_width);
grub_font_t font, int border_width);
typedef void (*grub_gfxterm_repaint_callback_t)(int x, int y,
int width, int height);