Mercurial > mplayer.hg
view Gui/skin/font.h @ 8309:447a89f93ba4
Update with JPEG FourCC, as found in SGI created baard.avi photo-jpeg.
See ffmpeg-devel list, change to LEAD codec is untested as I don't have it...
author | atmos4 |
---|---|
date | Thu, 28 Nov 2002 21:37:07 +0000 |
parents | 9246adcf95f0 |
children | b8c271750450 |
line wrap: on
line source
#ifndef _FONT_H #define _FONT_H #include "../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 fntTextHeight( int id,char * str ); extern int fntTextWidth( int id,char * str ); extern int fntRead( char * path,char * fname ); extern txSample * fntRender( int id,int px,int sx,char * fmt,... ); #endif