Mercurial > mplayer.hg
view Gui/skin/font.h @ 6407:2b61d16017da
Background now uses CSS, added charset, quoted all attributes that need
quoting (contain % or #), typos, misc HTML fixes and all HTML tags should
be UPPERCASE.
author | diego |
---|---|
date | Thu, 13 Jun 2002 00:26:51 +0000 |
parents | 8cfddba867b4 |
children | a31b9f15cbff |
line wrap: on
line source
#ifndef _FONT_H #define _FONT_H #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 txSample Bitmap; extern bmpFont * Fonts[26]; extern int fntAddNewFont( char * name ); extern void fntFreeFont( void ); extern int fntFindID( char * name ); extern int fntRead( char * path,char * fname ); extern txSample * fntRender( int id,int px,int sx,char * fmt,... ); #endif