comparison src/dmimage.h @ 812:1e5cf1144f36

Move library source under src/ subdirectory.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 16 May 2014 03:22:39 +0300
parents dmimage.h@32250b436bca
children 7f20f611c241
comparison
equal deleted inserted replaced
811:aebc2f8b2c2d 812:1e5cf1144f36
1 /*
2 * DMLib
3 * -- Bitmap image conversion and loading
4 * Programmed and designed by Matti 'ccr' Hamalainen
5 * (C) Copyright 2012 Tecnic Software productions (TNSP)
6 */
7 #ifndef DMIMAGE_H
8 #define DMIMAGE_H
9
10 #include "dmlib.h"
11 #include "dmres.h"
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17
18 SDL_Surface *dmCreateRGBSurfaceFrom(void *data, const int width, const int height, const int depth, const int pitch, const int rmask, const int gmask, const int bmask, const int amask);
19 SDL_Surface *dmCreatePaletteSurfaceFrom(void *data, const int width, const int height, const int pitch);
20 SDL_Surface *dmLoadImage(DMResource *file);
21
22
23 #ifdef __cplusplus
24 }
25 #endif
26
27 #endif // DMIMAGE_H