Mercurial > kinput2.yaz
comparison include/FontBank.h @ 0:92745d501b9a
initial import from kinput2-v3.1
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 04:44:30 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92745d501b9a |
---|---|
1 /* $Id: FontBank.h,v 1.2 1994/05/12 09:13:24 ishisone Rel $ */ | |
2 /* | |
3 * Copyright (c) 1991, 1994 Software Research Associates, Inc. | |
4 * | |
5 * Permission to use, copy, modify, and distribute this software and its | |
6 * documentation for any purpose and without fee is hereby granted, provided | |
7 * that the above copyright notice appear in all copies and that both that | |
8 * copyright notice and this permission notice appear in supporting | |
9 * documentation, and that the name of Software Research Associates not be | |
10 * used in advertising or publicity pertaining to distribution of the | |
11 * software without specific, written prior permission. Software Research | |
12 * Associates makes no representations about the suitability of this software | |
13 * for any purpose. It is provided "as is" without express or implied | |
14 * warranty. | |
15 * | |
16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan | |
17 */ | |
18 | |
19 #ifndef _FontBank_h | |
20 #define _FontBank_h | |
21 | |
22 typedef struct _fb_rec_ *FontBank; /* opaque */ | |
23 | |
24 extern FontBank FontBankCreate( | |
25 #if NeedFunctionPrototypes | |
26 Display * /* dpy */, | |
27 char * /* language */ | |
28 #endif | |
29 ); | |
30 | |
31 extern void FontBankDestroy( | |
32 #if NeedFunctionPrototypes | |
33 FontBank /* bank */ | |
34 #endif | |
35 ); | |
36 | |
37 extern XFontStruct ** FontBankGet( | |
38 #if NeedFunctionPrototypes | |
39 FontBank /* bank */, | |
40 char * /* fontset_base_names */, | |
41 int * /* num_fontsp */ | |
42 #endif | |
43 ); | |
44 | |
45 extern void FontBankFreeFonts( | |
46 #if NeedFunctionPrototypes | |
47 FontBank /* bank */, | |
48 XFontStruct ** /* fonts */, | |
49 int /* num_fonts */ | |
50 #endif | |
51 ); | |
52 | |
53 #endif /* _FontBank_h */ |