From: David B. <dav...@gm...> - 2010-06-25 11:09:35
|
Hi, > > What I've been doing so far is using the preprocessor > to redirect the calls instead of manually adding T4K all over the > place. Here's an example from SDL_extras.h in TuxMath's > commonification branch > > #ifndef HAVE_LIBT4K_COMMON > void DrawButton(SDL_Rect* target_rect, int radius, Uint8 r, > Uint8 g, Uint8 b, Uint8 a); > #else > # define DrawButton T4K_DrawButton > #endif > This is temporary, I take it? I would assume that once we take the plunge and commit ourselves to consistently using libt4k, we will go back and change the function calls themselves. David |