source: tags/arb_5.2/WINDOW/aw_xfont.hxx

Last change on this file was 5901, checked in by westram, 15 years ago
  • AW_BOOL → bool
  • 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
9struct 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
17struct _fstruct {
18    const char     *name;       /* Postscript font name */
19    int             xfontnum;   /* template for locating X fonts */
20};
21
22struct _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
28typedef struct _appres {
29    bool     SCALABLEFONTS;     /* hns 5 Nov 91 */
30    bool     debug;             /* hns 5 Nov 91 */
31    Display *display;
32} appresStruct, *appresPtr;
33extern 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.