Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef CONSTZ_PNG_H
2 #define CONSTZ_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char constz_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, 0x64, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xED, 0xD2, 0xC1, 0x0A, 0x00, 0x20,
26  0x08, 0x03, 0x50, 0xFB, 0x73, 0x3F, 0xCD, 0x4F, 0xCB, 0x08,
27  0x3A, 0x44, 0xB9, 0xC1, 0x6E, 0x91, 0xE7, 0x7A, 0xE0, 0x66,
28  0x8B, 0x08, 0xD3, 0x27, 0x15, 0x7D, 0x4C, 0x27, 0xC6, 0x36,
29  0x5F, 0x39, 0x26, 0x70, 0xCD, 0xE5, 0xD8, 0xFE, 0x2D, 0x44,
30  0x36, 0x5D, 0x77, 0x4F, 0x57, 0x52, 0x6A, 0x82, 0x6A, 0x1A,
31  0x12, 0x94, 0x52, 0x2C, 0xB2, 0x16, 0x04, 0xB9, 0xCC, 0x8C,
32  0xE1, 0x65, 0x56, 0x2F, 0x48, 0xA2, 0xDA, 0x88, 0x27, 0xB0,
33  0xB2, 0x5D, 0x8D, 0xD4, 0xB4, 0x94, 0x0B, 0xFC, 0xCC, 0x76,
34  0x44, 0x42, 0xB8, 0x45, 0x06, 0x7A, 0x4F, 0xE9, 0xDA, 0x14,
35  0x3C, 0xBE, 0xEC, 0xFC, 0x37, 0x99, 0x00, 0x00, 0x00, 0x00,
36  0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82,
37 };
40 {
41  static wxMemoryInputStream memIStream( constz_png, sizeof( constz_png ) );
42  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
43  static wxBitmap bmp( image );
44  return bmp;
45 };
48 #endif //CONSTZ_PNG_H
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230
wxBitmap & constz_png_to_wx_bitmap()
Definition: constz.png.h:39