annotate Gui/skin/font.h @ 5101:870ba1ffdbf9

added mp_gettext macro for i18n
author alex
date Fri, 15 Mar 2002 21:07:48 +0000
parents 016f6d583733
children 8cfddba867b4
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 );
1829
a4156c8cdd57 add font free func.
pontscho
parents: 1693
diff changeset
25 extern void fntFreeFont( void );
1693
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
2082
016f6d583733 missing newlines fixed
arpi
parents: 1829
diff changeset
31 #endif
016f6d583733 missing newlines fixed
arpi
parents: 1829
diff changeset
32