Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (30 sloc) 1.164 kb
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
1 /* xmisc.h */
2
3 typedef struct x_loadedfont_s
4 {
5 struct x_loadedfont_s *next; /* next font in linked list */
6 int links; /* number of windows using this font */
7 XFontStruct *fontinfo; /* X font structure */
8 char *name; /* name of the font */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
9 #ifdef FEATURE_XFT
10 XftFont *xftfont; /* Xft version of the font */
11 #endif
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
12 } X_LOADEDFONT;
13
14 typedef struct x_loadedcolor_s
15 {
16 struct x_loadedcolor_s *next; /* next color in linked list */
17 unsigned long pixel; /* the color code */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
18 unsigned char rgb[3]; /* the color, broken down into RGB */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
19 CHAR *name; /* name of the color */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
20 #ifdef FEATURE_XFT
21 XftColor xftcolor; /* Xft version of the color */
22 #endif
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
23 } X_LOADEDCOLOR;
24
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
25 #ifdef FEATURE_XFT
26 XftColor *x_xftpixel P_((long pixel));
27 #endif
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
28 X_LOADEDFONT *x_loadfont P_((char *name));
29 void x_unloadfont P_((X_LOADEDFONT *font));
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
30 unsigned long x_loadcolor P_((CHAR *name, unsigned long def, unsigned char rgb[3]));
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
31 void x_unloadcolor P_((unsigned long pixel));
32 void x_drawbevel P_((X11WIN *xw, Window win, int x, int y, unsigned w, unsigned h, _char_ dir, int height));
33 void x_drawstring P_((Display *display, Window win, GC gc, int x, int y, char *str, int len));
Something went wrong with that request. Please try again.