2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-10-16 03:49:58 +02:00
|
|
|
* Snes9x 1.50
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
2008-10-16 03:49:58 +02:00
|
|
|
* Nintendo Gamecube Screen Font Driver
|
2008-08-14 00:44:59 +02:00
|
|
|
*
|
|
|
|
* Uses libfreetype 2.2.1 compiled for GC with TTF support only.
|
2008-10-16 03:49:58 +02:00
|
|
|
* TTF only reduces the library by some 900kbytes!
|
|
|
|
*
|
|
|
|
* Visit - http://www.freetype.org !
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* **WARNING***
|
|
|
|
*
|
|
|
|
* ONLY USE GUARANTEED PATENT FREE FONTS.
|
2008-10-16 03:49:58 +02:00
|
|
|
* THOSE IN YOUR WINDOWS\FONTS DIRECTORY ARE COPYRIGHT
|
|
|
|
* AND MAY NOT BE DISTRIBUTED!
|
|
|
|
*
|
|
|
|
* softdev July 2006
|
|
|
|
* crunchy2 June 2007
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _TTFFONTS_
|
|
|
|
#define _TTFFONTS_
|
2008-08-06 03:09:59 +02:00
|
|
|
|
|
|
|
int FT_Init ();
|
|
|
|
void setfontsize (int pixelsize);
|
|
|
|
void DrawText (int x, int y, char *text);
|
2008-10-16 03:49:58 +02:00
|
|
|
void legal ();
|
|
|
|
void highlight (int on);
|
2008-08-06 03:09:59 +02:00
|
|
|
void WaitButtonA ();
|
2008-10-16 03:49:58 +02:00
|
|
|
void setfontcolour (u8 r, u8 g, u8 b);
|
|
|
|
int RunMenu (char items[][20], int maxitems, char *title);
|
2008-08-06 03:09:59 +02:00
|
|
|
void WaitPrompt (char *msg);
|
|
|
|
int WaitPromptChoice (char *msg, char* bmsg, char* amsg);
|
|
|
|
void ShowAction (char *msg);
|
|
|
|
void ShowProgress (char *msg, int done, int total);
|
|
|
|
void DrawPolygon (int vertices, int *varray, u8 r, u8 g, u8 b);
|
|
|
|
void DrawLineFast( int startx, int endx, int y, u8 r, u8 g, u8 b );
|
|
|
|
|
|
|
|
#endif
|