Mercurial > mplayer.hg
diff Gui/skin/font.h @ 8864:b8c271750450
- sync with x11_common
- half rewrited font render engine (disabled by default)
author | pontscho |
---|---|
date | Thu, 09 Jan 2003 20:47:14 +0000 |
parents | 9246adcf95f0 |
children | 0e1471d9da74 |
line wrap: on
line diff
--- a/Gui/skin/font.h Thu Jan 09 20:42:01 2003 +0000 +++ b/Gui/skin/font.h Thu Jan 09 20:47:14 2003 +0000 @@ -3,6 +3,11 @@ #define _FONT_H #include "../bitmap.h" +#include "../app.h" + +#define fntAlignLeft 0 +#define fntAlignCenter 1 +#define fntAlignRight 2 typedef struct { @@ -27,7 +32,7 @@ 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,... ); +extern txSample * fntRender( wItem * item,int px,char * fmt,... ); #endif