From c466263ac1ec2c1fcbd1d9b89b91ff746c472c4b Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 27 Apr 2004 07:33:48 +0000 Subject: [PATCH] Include FT_FREETYPE_H. (mwin__xft_open, mwin__xft_close) [HAVE_FREETYPE]: New externs. (mwin__xft_get_metric, mwin__xft_render) [HAVE_FREETYPE]: New externs. --- src/internal-gui.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/internal-gui.h b/src/internal-gui.h index 656bfb6..7e18c51 100644 --- a/src/internal-gui.h +++ b/src/internal-gui.h @@ -284,4 +284,18 @@ extern void mwin__adjust_window (MFrame *frame, MDrawWindow win, extern MSymbol mwin__parse_event (MFrame *frame, void *arg, int *modifiers); +#ifdef HAVE_XFT2 + +#include +#include FT_FREETYPE_H + +extern void *mwin__xft_open (MFrame *frame, char *filename, int size); +extern void mwin__xft_close (void *xft_info); +extern void mwin__xft_get_metric (void *xft_info, FT_Face ft_face, MGlyph *g); +extern void mwin__xft_render (MDrawWindow win, int x, int y, + MGlyphString *gstring, MGlyph *from, MGlyph *to, + int reverse, MDrawRegion region, + void *xft_info, FT_Face ft_face); +#endif /* HAVE_XFT2 */ + #endif /* _M_INTERNAL_GUI_H */ -- 1.7.10.4