]> git.proxmox.com Git - grub2.git/commitdiff
Fix yeeloong compilation
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 23 Mar 2010 17:17:54 +0000 (18:17 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 23 Mar 2010 17:17:54 +0000 (18:17 +0100)
commands/videotest.c
gfxmenu/font.c
include/grub/font.h
include/grub/gfxmenu_view.h

index 390811a71cfe7df38adcb5016a9aa97aa8290dc9..77a63a322429a754fcf8bbe44f2637a67b2d1545 100644 (file)
@@ -25,6 +25,7 @@
 #include <grub/term.h>
 #include <grub/command.h>
 #include <grub/i18n.h>
+#include <grub/gfxmenu_view.h>
 
 static grub_err_t
 grub_cmd_videotest (grub_command_t cmd __attribute__ ((unused)),
index a11b31875c4c870c0031987c45031c15a911df1c..3c15e19fa496d88f7c1947d1f3132ef18f8bda06 100644 (file)
@@ -29,6 +29,7 @@
 #include <grub/charset.h>
 #include <grub/unicode.h>
 #include <grub/fontformat.h>
+#include <grub/gfxmenu_view.h>
 
 /* Draw a UTF-8 string of text on the current video render target.
    The x coordinate specifies the starting x position for the first character,
index 4df4c2279d1cf3bf34ca0a548a3d20358a7ea3d7..b896159c2325adb15f5b94833cc6c6b54f817de0 100644 (file)
@@ -100,9 +100,6 @@ int EXPORT_FUNC (grub_font_get_height) (grub_font_t font);
 
 int EXPORT_FUNC (grub_font_get_xheight) (grub_font_t font);
 
-int EXPORT_FUNC (grub_font_get_string_width) (grub_font_t font,
-                                             const char *str);
-
 struct grub_font_glyph *EXPORT_FUNC (grub_font_get_glyph) (grub_font_t font,
                                                           grub_uint32_t code);
 
@@ -113,11 +110,6 @@ grub_err_t EXPORT_FUNC (grub_font_draw_glyph) (struct grub_font_glyph *glyph,
                                               grub_video_color_t color,
                                               int left_x, int baseline_y);
 
-grub_err_t EXPORT_FUNC (grub_font_draw_string) (const char *str,
-                                               grub_font_t font,
-                                               grub_video_color_t color,
-                                               int left_x, int baseline_y);
-
 int
 EXPORT_FUNC (grub_font_get_constructed_device_width) (grub_font_t hinted_font,
                                        const struct grub_unicode_glyph *glyph_id);
index 7cbfa89d36e4e9e96609eea055bd2c22b69fe8be..c52a3c71cb2479eb9dc93de7aad45721b0444a82 100644 (file)
@@ -62,6 +62,14 @@ grub_gfxmenu_print_timeout (int timeout, void *data);
 void
 grub_gfxmenu_set_chosen_entry (int entry, void *data);
 
+grub_err_t grub_font_draw_string (const char *str,
+                                 grub_font_t font,
+                                 grub_video_color_t color,
+                                 int left_x, int baseline_y);
+int grub_font_get_string_width (grub_font_t font,
+                               const char *str);
+
+
 /* Implementation details -- this should not be used outside of the
    view itself.  */