comparison include/SDL_compat.h @ 3536:0267b8b1595c

Added interfaces for batch drawing of points, lines and rects: SDL_DrawPoints() SDL_BlendPoints() SDL_BlendLines() SDL_DrawLines() SDL_FillRects() SDL_BlendRects() SDL_RenderPoints() SDL_RenderLines() SDL_RenderRects() Renamed SDL_RenderFill() to SDL_RenderRect()
author Sam Lantinga <slouken@libsdl.org>
date Wed, 09 Dec 2009 15:56:56 +0000
parents d3baf5ac4e37
children 5543db4239e6
comparison
equal deleted inserted replaced
3535:b403f790df65 3536:0267b8b1595c
348 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); 348 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void);
349 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); 349 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
350 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); 350 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
351 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); 351 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
352 352
353 #define SDL_RenderFill SDL_RenderRect
354
353 /*@}*//*Compatibility*/ 355 /*@}*//*Compatibility*/
354 356
355 /* Ends C function definitions when using C++ */ 357 /* Ends C function definitions when using C++ */
356 #ifdef __cplusplus 358 #ifdef __cplusplus
357 /* *INDENT-OFF* */ 359 /* *INDENT-OFF* */