summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-01-13 02:21:06 +0000
committerIan C <ianc@noddybox.co.uk>2004-01-13 02:21:06 +0000
commit44ffbe36a8e7eaab7d7851bb79f229c4383c6545 (patch)
tree5ec706c58e940047021c0fd8665e96c6d3d50c58 /src/gfx.h
parent25bc35fbadebbf28eed3c89978e435d2df557b42 (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.h13
1 files changed, 12 insertions, 1 deletions
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);