2 |
|
/* |
3 |
|
* Header file for font handling routines |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_FONT_H_ |
6 |
+ |
#define _RAD_FONT_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
|
|
6 |
– |
#include "copyright.h" |
7 |
– |
|
11 |
|
typedef unsigned char GORD; |
12 |
|
|
13 |
|
typedef struct { |
28 |
|
|
29 |
|
extern int retainfonts; /* retain loaded fonts? */ |
30 |
|
|
28 |
– |
#ifdef NOPROTO |
31 |
|
|
30 |
– |
extern FONT *getfont(); |
31 |
– |
extern void freefont(); |
32 |
– |
extern int uniftext(); |
33 |
– |
extern int squeeztext(); |
34 |
– |
extern int proptext(); |
35 |
– |
|
36 |
– |
#else |
37 |
– |
|
32 |
|
extern FONT *getfont(char *fname); |
33 |
|
extern void freefont(FONT *f); |
34 |
|
extern int uniftext(short *sp, char *tp, FONT *f); |
35 |
|
extern int squeeztext(short *sp, char *tp, FONT *f, int cis); |
36 |
|
extern int proptext(short *sp, char *tp, FONT *f, int cis, int nsi); |
37 |
|
|
38 |
+ |
|
39 |
+ |
#ifdef __cplusplus |
40 |
+ |
} |
41 |
|
#endif |
42 |
+ |
#endif /* _RAD_FONT_H_ */ |
43 |
+ |
|