Mercurial > mplayer.hg
view Gui/skin/font.h @ 9569:894d02a6469e
vo_xover is a new vo that should make easy to have x11 support for
all overlay based vo.
Add support for xover to tdfx_vid. Sometimes the display flash bcs
the x server fuckup the overlay settings :( Not so bad as it only append
when i switch the focused window here.
author | albeu |
---|---|
date | Wed, 12 Mar 2003 15:04:05 +0000 |
parents | b8c271750450 |
children | 0e1471d9da74 |
line wrap: on
line source
#ifndef _FONT_H #define _FONT_H #include "../bitmap.h" #include "../app.h" #define fntAlignLeft 0 #define fntAlignCenter 1 #define fntAlignRight 2 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( wItem * item,int px,char * fmt,... ); #endif