From a500f050272a8cca97ed0bbb7f8d7156555c61a7 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 22 Dec 2003 00:01:31 +0000 Subject: Added memory menu and some devel changes --- src/gfx.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gfx.h') diff --git a/src/gfx.h b/src/gfx.h index 93eef60..14394d8 100644 --- a/src/gfx.h +++ b/src/gfx.h @@ -77,6 +77,11 @@ void GFXStartFrame(void); void GFXEndFrame(int delay); +/* Set key repeat +*/ +void GFXKeyRepeat(int repeat); + + /* Suck out keyboard events. Returns NULL if no more keyboard events */ SDL_Event *GFXGetKey(void); @@ -125,6 +130,13 @@ void GFXVLine(int x, int y1, int y2, Uint32 col); void GFXPrint(int x, int y, Uint32 col, const char *format, ...); +/* As above, but draws text using the supplied background colour, rather + than transparently. +*/ +void GFXPrintPaper(int x, int y, Uint32 col, Uint32 paper, + const char *format, ...); + + #endif -- cgit v1.2.3