blob: 3b177cc82270c37faec605e18906b669edd36f5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef x_fonts_MODULE
#define x_fonts_MODULE
/* This file is part of the Project Athena Zephyr Notification System.
* It is one of the source files comprising zwgc, the Zephyr WindowGram
* client.
*
* Created by: Marc Horowitz <marc@athena.mit.edu>
*
* $Source$
* $Author$
* $Id$
*
* Copyright (c) 1989 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
#include <zephyr/mit-copyright.h>
#include "X_driver.h"
#define SPECIAL_FACE -1
#define ROMAN_FACE 0
#define BOLD_FACE 1
#define ITALIC_FACE 2
#define BOLD_ITALIC_FACE 3
#define SPECIAL_SIZE -1
#define SMALL_SIZE 0
#define MEDIUM_SIZE 1
#define LARGE_SIZE 2
/*
* XFontStruct *get_font(string family; int size, face)
* Requires: size is one of SMALL_SIZE, MEDIUM_SIZE, LARGE_SIZE and
* face is one of ROMAN_FACE, BOLD_FACE, ITALIC_FACE,
* BOLDITALIC_FACE.
* Effects: Looks up the font specified by the above in the
* X resources. If that font is not specified by in
* the X resources or it can't be loaded, the font
* specified by default.medium.roman is used. <<<>>>
*/
extern XFontStruct *get_font();
extern XFontStruct *get_fontst_from_fid();
#endif
|