diff dmtext.h @ 63:3d9da937db69

More work on the text support.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Oct 2012 10:42:56 +0300
parents f28cd66356f6
children 03375aa0ef2b
line wrap: on
line diff
--- a/dmtext.h	Mon Oct 01 09:50:43 2012 +0300
+++ b/dmtext.h	Mon Oct 01 10:42:56 2012 +0300
@@ -20,6 +20,7 @@
 
 /* Bitmapped fonts and text
  */
+#ifdef DM_GFX_BM_TEXT
 typedef struct
 {
     int width, height;
@@ -34,6 +35,7 @@
 void dmDrawBMTextConst(SDL_Surface *screen, DMBitmapFont *font, int mode, int xc, int yc, const char *str);
 void dmDrawBMTextVA(SDL_Surface *screen, DMBitmapFont *font, int mode, int xc, int yc, const char *fmt, va_list ap);
 void dmDrawBMText(SDL_Surface *screen, DMBitmapFont *font, int mode, int xc, int yc, const char *fmt, ...);
+#endif
 
 
 /* TTF text drawing