[teklib-general] changeset in /hg/teklib/current: fixed compiler warnings, added ...

Franciska Schulze fschulze at neoscientists.org
Mon Nov 26 16:24:18 CET 2007


changeset 71b0cbacc2a4 in /hg/teklib/current
details: http://teklib.org:8001/hg/teklib/current?cmd=changeset;node=71b0cbacc2a4
description:
	fixed compiler warnings, added XftDrawRect

diffs (35 lines):

diff -r 43aaf0aaab32 -r 71b0cbacc2a4 src/visual/posix/visual_font.h
--- a/src/visual/posix/visual_font.h	Mon Sep 24 12:30:47 2007 +0200
+++ b/src/visual/posix/visual_font.h	Mon Sep 24 12:31:49 2007 +0200
@@ -59,21 +59,7 @@ struct FnNode
 
 /*****************************************************************************/
 
-#define LIBXFT_NUMSYMS	10
-
-static TSTRPTR libxftsyms[LIBXFT_NUMSYMS] =
-{
-	"XftFontOpen",
-	"XftFontClose",
-	"XftTextExtentsUtf8",
-	"XftDrawStringUtf8",
-	"XftLockFace",
-	"XftUnlockFace",
-	"XftColorAllocValue",
-	"XftColorFree",
-	"XftDrawCreate",
-	"XftDrawDestroy",
-};
+#define LIBXFT_NUMSYMS	11
 
 struct XftInterface
 {
@@ -83,6 +69,8 @@ struct XftInterface
            						int len, XGlyphInfo *extents);
 	void (*XftDrawStringUtf8)(XftDraw *draw, _Xconst XftColor *color, XftFont *pub,
 								int x, int y, _Xconst FcChar8  *string, int len);
+	void (*XftDrawRect)(XftDraw *draw, _Xconst XftColor *color, int x, int y,
+						unsigned int width, unsigned int height);
 	FT_Face (*XftLockFace)(XftFont *pub);
 	void (*XftUnlockFace)(XftFont *pub);
 	Bool (*XftColorAllocValue)(Display *dpy, Visual *visual, Colormap cmap,


More information about the teklib-general mailing list