]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/image_private.h
19f0cefdb976ade4466289efb0f28db414c39990
[libs/gui.git] / source / graphics / image_private.h
1 #ifndef MSP_GRAPHICS_IMAGE_PRIVATE_H_
2 #define MSP_GRAPHICS_IMAGE_PRIVATE_H_
3
4 #include "image.h"
5
6 namespace Msp {
7 namespace Graphics {
8
9 struct Image::Private
10 {
11 #ifdef WITH_DEVIL
12         unsigned id;
13 #endif
14 #ifdef WITH_LIBPNG
15         PixelFormat fmt;
16         unsigned width;
17         unsigned height;
18         char *data;
19 #endif
20
21         Private();
22 };
23
24 } // namespace Graphics
25 } // namespace Msp
26
27 #endif