summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-01-24 01:47:55 +0000
committerIan C <ianc@noddybox.co.uk>2004-01-24 01:47:55 +0000
commit84c5c35281aba8ea9be621f38d436c9e15e42802 (patch)
tree0b0a07886295cc6fed6bdc55faae68526d5820ef /src/main.c
parent12cb9f2d13aba5c243e60dc9d2fa3bf038448b53 (diff)
Added keyboard help bitmap
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b89d8c7..7c0e9b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,6 +35,7 @@ static const char id[]="$Id$";
#include "gui.h"
#include "memmenu.h"
#include "config.h"
+#include "kbbmp.h"
#include "exit.h"
#include "util.h"
@@ -179,7 +180,15 @@ int main(int argc, char *argv[])
case SDLK_F3:
if (e->key.state==SDL_PRESSED)
- GUIMessage(eMessageBox,"TODO","Sorry, not done yet");
+ {
+ GFXBitmap((GFX_WIDTH-KBBMP_WIDTH)/2,
+ (GFX_HEIGHT-KBBMP_HEIGHT)/2,
+ KBBMP_WIDTH, KBBMP_HEIGHT,
+ keyboard_bitmap);
+
+ GFXEndFrame(FALSE);
+ GFXWaitKey();
+ }
break;
case SDLK_F8: