From 44ffbe36a8e7eaab7d7851bb79f229c4383c6545 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 13 Jan 2004 02:21:06 +0000 Subject: Added breakpoints to memory menu and added extra GUI items. Plus general fixes. --- src/gfx.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/gfx.h') diff --git a/src/gfx.h b/src/gfx.h index d3f1ec3..9b35868 100644 --- a/src/gfx.h +++ b/src/gfx.h @@ -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); -- cgit v1.2.3