1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/Gui/skin/font.h
pontscho d05326c4bc - fix audio equalizer
- rewrite video equalizer handling (i teszted with mga g400 [x]mga,xv,xvidix and radeon xv,xvidix )
- fix some small gtk bug
- i dunno, i don't remember ... :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6756 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-19 20:51:48 +00:00

34 lines
629 B
C

#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 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