view Gui/skin/font.h @ 3161:950496933384

configure cleanups: a few typos a few reordering (C src / _blah=no / cc_check && _blah=yes) preliminary support to display a summary of enabled modules at the end of the run of ./configure (only AO & VO right now/check for _{a,v}omodules) cleanups of config.mak : X_LIBS gathered everything and whatever - no longer the case Makefile cleanups to match the ones done in config.mak NB: it still compiles here (but I'm pretty sure this will break on some systems :)
author pl
date Tue, 27 Nov 2001 17:58:29 +0000
parents 016f6d583733
children 8cfddba867b4
line wrap: on
line source


#ifndef _MYFONT
#define _MYFONT

#include "../bitmap/bitmap.h"

typedef struct
{
 int x,y;   // location
 int sx,sy; // size
} fntChar;

typedef struct
{
 fntChar    Fnt[256];
 txSample   Bitmap;
 char       name[128];
} bmpFont;

extern fntChar    Fnt[256];
extern txSample   Bitmap;
extern bmpFont  * Fonts[25];

extern int  fntAddNewFont( char * name );
extern void fntFreeFont( void );
extern int  fntFindID( char * name );

extern int        fntRead( char * path,char * fname,int id );
extern txSample * fntRender( int id,int px,int sx,char * fmt,... );

#endif