Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef CONSTY_PNG_H
2 #define CONSTY_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char consty_png[] =
9 {
10  0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00,
11  0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x17,
12  0x00, 0x00, 0x00, 0x17, 0x08, 0x02, 0x00, 0x00, 0x00, 0x6F,
13  0x48, 0x43, 0xF7, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47,
14  0x42, 0x00, 0xAE, 0xCE, 0x1C, 0xE9, 0x00, 0x00, 0x00, 0x04,
15  0x67, 0x41, 0x4D, 0x41, 0x00, 0x00, 0xB1, 0x8F, 0x0B, 0xFC,
16  0x61, 0x05, 0x00, 0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4D,
17  0x00, 0x00, 0x7A, 0x26, 0x00, 0x00, 0x80, 0x84, 0x00, 0x00,
18  0xFA, 0x00, 0x00, 0x00, 0x80, 0xE8, 0x00, 0x00, 0x75, 0x30,
19  0x00, 0x00, 0xEA, 0x60, 0x00, 0x00, 0x3A, 0x98, 0x00, 0x00,
20  0x17, 0x70, 0x9C, 0xBA, 0x51, 0x3C, 0x00, 0x00, 0x00, 0x1A,
21  0x74, 0x45, 0x58, 0x74, 0x53, 0x6F, 0x66, 0x74, 0x77, 0x61,
22  0x72, 0x65, 0x00, 0x50, 0x61, 0x69, 0x6E, 0x74, 0x2E, 0x4E,
23  0x45, 0x54, 0x20, 0x76, 0x33, 0x2E, 0x35, 0x2E, 0x31, 0x30,
24  0x30, 0xF4, 0x72, 0xA1, 0x00, 0x00, 0x00, 0x71, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xED, 0x53, 0xD1, 0x0E, 0x00, 0x10,
26  0x08, 0xE4, 0xCF, 0xFB, 0xB4, 0x3E, 0x4D, 0xD6, 0x46, 0x13,
27  0xC5, 0xF2, 0x62, 0xD3, 0x83, 0x0D, 0x75, 0xBA, 0xEB, 0x64,
28  0x44, 0x4C, 0xF1, 0x20, 0x94, 0x78, 0xA4, 0x38, 0x44, 0x65,
29  0xF3, 0x51, 0xA6, 0x0A, 0x2C, 0x75, 0xE1, 0xE9, 0xCB, 0x1A,
30  0x7D, 0xD2, 0x6E, 0x97, 0x28, 0x00, 0x40, 0x65, 0xB4, 0x72,
31  0xEA, 0xB0, 0x1D, 0x3A, 0xB2, 0x66, 0x24, 0x1F, 0x37, 0x1A,
32  0xF1, 0x27, 0x2D, 0x5D, 0x6D, 0x78, 0xC2, 0xF1, 0x0B, 0x13,
33  0x91, 0xD4, 0xCE, 0xD4, 0xED, 0xCA, 0x29, 0x99, 0x35, 0x90,
34  0xEF, 0x5D, 0x5B, 0x11, 0x46, 0x7C, 0x0B, 0x65, 0xE7, 0xBB,
35  0xFA, 0x8C, 0x3E, 0xCA, 0x8E, 0x02, 0xF3, 0x9C, 0x3B, 0xEA,
36  0x16, 0xA1, 0xE8, 0x3A, 0x7E, 0xFC, 0x13, 0x11, 0xC3, 0x00,
37  0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60,
38  0x82,
39 };
42 {
43  static wxMemoryInputStream memIStream( consty_png, sizeof( consty_png ) );
44  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
45  static wxBitmap bmp( image );
46  return bmp;
47 };
50 #endif //CONSTY_PNG_H
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230
wxBitmap & consty_png_to_wx_bitmap()
Definition: consty.png.h:41