shithub: candycrisis

ref: b4805f6e847e719e08e5f75e09b4f6010f7b43b6
dir: /src/font.h/

View raw version
// font.h


#ifndef __FONT__
#define __FONT__


typedef struct 
{
	SDL_Surface *surface;
	int width[256];
	int across[256];
}
SkittlesFont, *SkittlesFontPtr;


void            InitFont( void );
SkittlesFontPtr GetFont( int pictID );
int             GetTextWidth( SkittlesFontPtr font, const char *text );


#endif