Chapter 13. Examples of I18N
111
XTextProperty *text_prop_return);
Status QuasiXFetchName(Display *d, Window w, char **winname);
Status QuasiXGetIconName(Display *d, Window w,char **iconname);
GC QuasiXCreateGC(Display *d, Drawable dr, unsigned long mask, XGCValues *xgc);
int QuasiXChangeGC(Display *d, GC gc, unsigned long mask, XGCValues * xgc);
#else /* !FONTSET */
#define QuasiXFontStruct
XFontStruct
#define QuasiXLoadQueryFont XLoadQueryFont
#define QuasiXFreeFont
XFreeFont
#define QuasiXTextExtents
XTextExtents
#define QuasiXTextWidth
XTextWidth
#define QuasiXGetWMIconName XGetWMIconName
#define QuasiXGetWMName
XGetWMName
#define QuasiXFetchName
XFetchName
#define QuasiXGetIconName
XGetIconName
#define QuasiXChangeGC
XChangeGC
#define QuasiXCreateGC
XCreateGC
#define QuasiXDrawString(d, w, qxfs, gc, x, y, s, l) \
XDrawString(d, w, gc, x, y, s, l)
#define QuasiXDrawImageString(d, w, qxfs, gc, x, y, s, l) \
XDrawImageString(d, w, gc, x, y, s, l)
#endif /* __fontset__h__ */
13.4.5 The Source File of the Wrapper
This is the source file of the wrapper.
/* fontset.c */
#include
#include
#include
#include
#include
#include
#include
#include "fontset.h"
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved