Last change
on this file was
3599,
checked in by westram, 19 years ago
|
- moved some definitions to aw_def.hxx
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef AW_XFONT_HXX |
---|
2 | #define AW_XFONT_HXX |
---|
3 | |
---|
4 | #ifndef AW_DEF_HXX |
---|
5 | #include "aw_def.hxx" |
---|
6 | #endif |
---|
7 | |
---|
8 | |
---|
9 | struct xfont { |
---|
10 | int size; /* size in points */ |
---|
11 | Font fid; /* X font id */ |
---|
12 | char *fname; /* actual name of X font found */ |
---|
13 | XFontStruct *fstruct; /* X font structure */ |
---|
14 | struct xfont *next; /* next in the list */ |
---|
15 | }; |
---|
16 | |
---|
17 | struct _fstruct { |
---|
18 | const char *name; /* Postscript font name */ |
---|
19 | int xfontnum; /* template for locating X fonts */ |
---|
20 | }; |
---|
21 | |
---|
22 | struct _xfstruct { |
---|
23 | const char *templat; /* templat for locating X fonts */ |
---|
24 | struct xfont *xfontlist; /* linked list of X fonts for different point |
---|
25 | * sizes */ |
---|
26 | }; |
---|
27 | |
---|
28 | typedef struct _appres { |
---|
29 | AW_BOOL SCALABLEFONTS; /* hns 5 Nov 91 */ |
---|
30 | AW_BOOL debug; /* hns 5 Nov 91 */ |
---|
31 | Display *display; |
---|
32 | } appresStruct, *appresPtr; |
---|
33 | extern appresStruct appres; |
---|
34 | |
---|
35 | #define DEFAULT (-1) |
---|
36 | |
---|
37 | #else |
---|
38 | #error aw_xfont.hxx included twice |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.