Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef CONSTXY_PNG_H
2 #define CONSTXY_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char constxy_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, 0x83, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xED, 0x53, 0x5B, 0x0E, 0x80, 0x30,
26  0x08, 0x9B, 0x37, 0xE7, 0x68, 0x1C, 0x4D, 0xCC, 0x0C, 0x22,
27  0xD4, 0xFA, 0x98, 0x9F, 0xDB, 0x87, 0x89, 0x94, 0x14, 0x28,
28  0x65, 0x51, 0xD5, 0x36, 0xFE, 0x8C, 0x65, 0xFC, 0xB5, 0x71,
29  0x8A, 0x6D, 0x9A, 0xC9, 0x02, 0x15, 0x38, 0xE9, 0xD2, 0x37,
30  0x1E, 0xF3, 0x3C, 0x42, 0xA0, 0xAC, 0xAE, 0x88, 0x58, 0xB6,
31  0x7D, 0x3B, 0x51, 0xFC, 0x25, 0x10, 0xD8, 0x51, 0xAC, 0x99,
32  0xEA, 0x33, 0xA8, 0xCE, 0x19, 0x9D, 0x9C, 0xD0, 0x2B, 0x08,
33  0xFB, 0xA5, 0xAA, 0x10, 0x67, 0x8C, 0x53, 0xF7, 0x38, 0x60,
34  0x21, 0xBD, 0xF8, 0xD1, 0xE5, 0x1E, 0x61, 0xCF, 0x7B, 0x85,
35  0xB2, 0xB2, 0x47, 0x2C, 0x7C, 0x11, 0x8C, 0x1A, 0xBA, 0xC3,
36  0x83, 0xDC, 0x26, 0x47, 0xDA, 0xBC, 0xC6, 0xFB, 0x6B, 0xFC,
37  0xAC, 0x11, 0xF6, 0xEE, 0x5B, 0xBA, 0x7F, 0x58, 0x56, 0xDE,
38  0x9F, 0xF0, 0xEF, 0x8E, 0x6F, 0xAA, 0x81, 0x00, 0x00, 0x00,
39  0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82, };
42 {
43  static wxMemoryInputStream memIStream( constxy_png, sizeof( constxy_png ) );
44  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
45  static wxBitmap bmp( image );
46  return bmp;
47 };
50 #endif //CONSTXY_PNG_H
wxBitmap & constxy_png_to_wx_bitmap()
Definition: constxy.png.h:41
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230