annotate Gui/skin/font.h @ 1743:b266f763cad3

fix playing
author pontscho
date Wed, 29 Aug 2001 15:07:40 +0000
parents d237c5d4b216
children a4156c8cdd57
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef _MYFONT
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define _MYFONT
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include "../bitmap/bitmap.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 int x,y; // location
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 int sx,sy; // size
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 } fntChar;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 fntChar Fnt[256];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 txSample Bitmap;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 char name[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 } bmpFont;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 extern fntChar Fnt[256];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 extern txSample Bitmap;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 extern bmpFont * Fonts[25];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 extern int fntAddNewFont( char * name );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 extern void fntFreeFont( int id );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 extern int fntFindID( char * name );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 extern int fntRead( char * path,char * fname,int id );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 extern txSample * fntRender( int id,int px,int sx,char * fmt,... );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 #endif