annotate Gui/skin/font.h @ 6627:fd3ac41ee1a1

add equalizer support and fix some small bug...
author pontscho
date Wed, 03 Jul 2002 18:57:52 +0000
parents 8cfddba867b4
children a31b9f15cbff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
6218
8cfddba867b4 fix text render chrash ...
pontscho
parents: 2082
diff changeset
2 #ifndef _FONT_H
8cfddba867b4 fix text render chrash ...
pontscho
parents: 2082
diff changeset
3 #define _FONT_H
1693
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 txSample Bitmap;
6218
8cfddba867b4 fix text render chrash ...
pontscho
parents: 2082
diff changeset
21 extern bmpFont * Fonts[26];
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 extern int fntAddNewFont( char * name );
1829
a4156c8cdd57 add font free func.
pontscho
parents: 1693
diff changeset
24 extern void fntFreeFont( void );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 extern int fntFindID( char * name );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26
6218
8cfddba867b4 fix text render chrash ...
pontscho
parents: 2082
diff changeset
27 extern int fntRead( char * path,char * fname );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 extern txSample * fntRender( int id,int px,int sx,char * fmt,... );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29
2082
016f6d583733 missing newlines fixed
arpi
parents: 1829
diff changeset
30 #endif
016f6d583733 missing newlines fixed
arpi
parents: 1829
diff changeset
31