1 /*
2     GUILIB:  An example GUI framework library for use with SDL
3 */
4 
5 #ifndef _GUI_loadimage_h
6 #define _GUI_loadimage_h
7 
8 #include "SDL.h"
9 #include "begin_code.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /************************************************************************/
15 /* C functions for C image loading support:
16    Use 'genimage' to turn an 8-bit BMP file into a C image, and include
17    the output in your application, either directly or as a header file.
18    Create an SDL surface in your program:
19 	surface = GUI_LoadImage(image_w, image_h, image_pal, image_data);
20  */
21 /************************************************************************/
22 
23 extern SDL_Surface *GUI_LoadImage(int w, int h, Uint8 *pal, Uint8 *data);
24 
25 /* Load the internal 8x8 font and return the associated font surface */
26 extern SDL_Surface *GUI_DefaultFont(void);
27 
28 #ifdef __cplusplus
29 };
30 #endif
31 #include "close_code.h"
32 
33 #endif /* _GUI_loadimage_h */
34