mirror of
https://github.com/dborth/fceugx.git
synced 2024-12-25 16:11:54 +01:00
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
|
/****************************************************************************
|
||
|
* FCE Ultra 0.98.12
|
||
|
* Nintendo Wii/Gamecube Port
|
||
|
*
|
||
|
* Tantric September 2008
|
||
|
*
|
||
|
* menudraw.h
|
||
|
*
|
||
|
* Menu drawing routines
|
||
|
****************************************************************************/
|
||
|
|
||
|
#ifndef _MENUDRAW_H_
|
||
|
#define _MENUDRAW_H_
|
||
|
|
||
|
#include "filesel.h"
|
||
|
|
||
|
#define PAGESIZE 13 // max item listing on a screen
|
||
|
|
||
|
int FT_Init ();
|
||
|
void setfontsize (int pixelsize);
|
||
|
void setfontcolour (u8 r, u8 g, u8 b);
|
||
|
void DrawText (int x, int y, char *text);
|
||
|
void Credits ();
|
||
|
void RomInfo ();
|
||
|
void WaitButtonA ();
|
||
|
int RunMenu (char items[][50], int maxitems, char *title, int fontsize, int x);
|
||
|
void DrawMenu (char items[][50], char *title, int maxitems, int selected, int fontsize, int x);
|
||
|
void ShowCheats (char items[][50], char itemvalues[][50], int maxitems, int offset, int selection);
|
||
|
void ShowFiles (FILEENTRIES filelist[], int maxfiles, int offset, int selection);
|
||
|
|
||
|
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
|