diff options
Diffstat (limited to 'src/gfx.h')
-rw-r--r-- | src/gfx.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |