25 #ifndef __I6ENGINE_UTILS_SPLASH_H__
26 #define __I6ENGINE_UTILS_SPLASH_H__
34 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
38 #include <X11/Xatom.h>
40 #include <X11/Xutil.h>
41 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
46 #define u_char unsigned char
75 void showSplash(
const std::string & file,
const std::string & name);
88 #if ISIXE_MPLATFORM == ISIXE_MPLATFORM_LINUX
92 void jpeg_error_exit(j_common_ptr cinfo);
93 u_char * decode_jpeg(
const char * filename,
int * widthPtr,
int * heightPtr);
94 XImage * create_image_from_buffer(Display * dis,
int screen,
u_char * buf,
int width,
int height);
95 Window create_window(Display * dis,
int screen,
int x,
int y,
int width,
int height,
const std::string & name);
96 #elif ISIXE_MPLATFORM == ISIXE_MPLATFORM_WIN32
Opens and displays JPEG (Linux) or BMP (Windows) images as splash screens.
unsigned long decorations