diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-01-13 02:21:06 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-01-13 02:21:06 +0000 |
commit | 44ffbe36a8e7eaab7d7851bb79f229c4383c6545 (patch) | |
tree | 5ec706c58e940047021c0fd8665e96c6d3d50c58 /src/gfx.h | |
parent | 25bc35fbadebbf28eed3c89978e435d2df557b42 (diff) |
Added breakpoints to memory menu and added extra GUI items. Plus general fixes.
Diffstat (limited to 'src/gfx.h')
-rw-r--r-- | src/gfx.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -41,6 +41,11 @@ #define FONT_CURSOR '\007' #define FONT_COPYRIGHT '\010' +/* The size of the display +*/ +#define GFX_WIDTH 320 +#define GFX_HEIGHT 300 + /* ---------------------------------------- INTERFACES */ @@ -50,6 +55,12 @@ void GFXInit(void); +/* Size of the screen +*/ +int GFXHeight(void); +int GFXWidth(void); + + /* Get the SDL_Surface for the screen */ SDL_Surface *GFXGetSurface(void); @@ -87,7 +98,7 @@ void GFXKeyRepeat(int repeat); SDL_Event *GFXGetKey(void); -/* Wait for a keypress (key up event) +/* Wait for a keypress. Note that key up events are returned. */ SDL_Event *GFXWaitKey(void); |