diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-01-24 01:47:55 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-01-24 01:47:55 +0000 |
commit | 84c5c35281aba8ea9be621f38d436c9e15e42802 (patch) | |
tree | 0b0a07886295cc6fed6bdc55faae68526d5820ef /src/main.c | |
parent | 12cb9f2d13aba5c243e60dc9d2fa3bf038448b53 (diff) |
Added keyboard help bitmap
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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: |