SDL: update IMG_xpm.c

This commit is contained in:
Alam Ed Arias 2018-08-10 17:08:39 -04:00
parent 653fd3038d
commit 3479310546
3 changed files with 1057 additions and 361 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
/* XPM */ /* XPM */
static char * C:\Repo\srb2\src\sdl\SDL_icon_xpm[] = { static const char * SDL_icon_xpm[] = {
"32 32 390 2", "32 32 390 2",
" c None", " c None",
". c #4F4F70", ". c #4F4F70",

View file

@ -39,6 +39,10 @@
#ifdef HAVE_IMAGE #ifdef HAVE_IMAGE
#include "SDL_image.h" #include "SDL_image.h"
#elif 1
#define LOAD_XPM //I want XPM!
#include "IMG_xpm.c" //Alam: I don't want to add SDL_Image.dll/so
#define HAVE_IMAGE //I have SDL_Image, sortof
#endif #endif
#ifdef HAVE_IMAGE #ifdef HAVE_IMAGE