summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
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