[Tux4kids-commits] r1626 - branches/commonification/t4kcommon/trunk/src
David Bruce
dbruce-guest at alioth.debian.org
Thu Oct 29 14:35:39 UTC 2009
Author: dbruce-guest
Date: 2009-10-29 14:35:39 +0000 (Thu, 29 Oct 2009)
New Revision: 1626
Modified:
branches/commonification/t4kcommon/trunk/src/t4k-common.h
Log:
Added function prototype for SDL text functions
Modified: branches/commonification/t4kcommon/trunk/src/t4k-common.h
===================================================================
--- branches/commonification/t4kcommon/trunk/src/t4k-common.h 2009-10-29 14:35:27 UTC (rev 1625)
+++ branches/commonification/t4kcommon/trunk/src/t4k-common.h 2009-10-29 14:35:39 UTC (rev 1626)
@@ -122,9 +122,13 @@
int EraseSprite(sprite* img, SDL_Surface* curr_bkgd, int x, int y);
int EraseObject(SDL_Surface* surf, SDL_Surface* curr_bkgd, int x, int y);
-/* TODO add prototypes for t4k-sdl.c text functions */
+/* Prototypes for t4k-sdl.c text functions */
+int Setup_SDL_Text(void);
+void Cleanup_SDL_Text(void);
+SDL_Surface* BlackOutline(const char* t, int size, SDL_Color* c);
+SDL_Surface* SimpleText(const char *t, int size, SDL_Color* col);
+SDL_Surface* SimpleTextWithOffset(const char *t, int size, SDL_Color* col, int *glyph_offset);
-
/* from tk4-loaders.c */
#define IMG_REGULAR 0x01
#define IMG_COLORKEY 0x02
More information about the Tux4kids-commits
mailing list