summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2003-12-22 00:01:31 +0000
committerIan C <ianc@noddybox.co.uk>2003-12-22 00:01:31 +0000
commita500f050272a8cca97ed0bbb7f8d7156555c61a7 (patch)
tree879d83916f2dae38e3574c4937098e40ae27bdb0 /src/gfx.h
parent9443eab98692b668fd35fc2a7e2cfb043953dbc7 (diff)
Added memory menu and some devel changes
Diffstat (limited to 'src/gfx.h')
-rw-r--r--src/gfx.h12
1 files changed, 12 insertions, 0 deletions
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