shithub: candycrisis

ref: a41d051499b5be820f4eb2a96efb8019bd1fcd53
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