27 |
|
|
28 |
typedef struct |
typedef struct |
29 |
{ |
{ |
30 |
XFontStruct *font; |
XFontStruct *font; |
31 |
XFontSet fontset; |
XFontSet fontset; |
32 |
int height; |
int height; |
33 |
int ascent; |
int ascent; |
34 |
int descent; |
int descent; |
35 |
} |
} |
36 |
MyFont; |
MyFont; |
37 |
|
|
38 |
extern int use_fontset; |
extern int use_fontset; |
39 |
int getFont(Display *, MyFont *, char *); |
int getFont (Display *, MyFont *, char *); |
40 |
void freeFont(Display *, MyFont *); |
void freeFont (Display *, MyFont *); |
41 |
void drawString(Display *, Drawable, MyFont *, GC, int, int, char *); |
void drawString (Display *, Drawable, MyFont *, GC, int, int, char *); |
42 |
int getTextWidth(char *, MyFont *); |
int getTextWidth (char *, MyFont *); |
43 |
void getWindowName(Display *, Window, char **); |
void getWindowName (Display *, Window, char **); |
44 |
|
|
45 |
#endif /* __I18N_H */ |
#endif /* __I18N_H */ |