Mercurial > mplayer.hg
view Gui/skin/font.h @ 5420:4ea69b1790d9
modified the new MS RLE decoder to support BGR15/16 output formats in
addition to BGR24/32, just like the old XAnim decoder; it's also
interesting to note that this commit wantonly violates A'rpi's newest
nonsensical CVS policy, and I quote:
Note: if you had to put if(){ .. } over big (> 5 lines) code,
do NOT change the indent of the inner part (move it right) !
author | melanson |
---|---|
date | Sun, 31 Mar 2002 15:33:32 +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