Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef SHOWDIST_PNG_H
2 #define SHOWDIST_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char showdist_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, 0x8C, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xBD, 0x93, 0x4B, 0x0E, 0xC0, 0x20,
26  0x08, 0x05, 0xDB, 0xFB, 0x5F, 0x8A, 0xA3, 0xD9, 0x06, 0x03,
27  0x06, 0x11, 0x79, 0xD8, 0xD4, 0x55, 0x6B, 0xE2, 0x30, 0xFC,
28  0x6E, 0x22, 0xBA, 0xCE, 0xCF, 0x43, 0x81, 0x8E, 0x1F, 0x11,
29  0x42, 0x2C, 0xC5, 0x51, 0xCA, 0x0C, 0x7A, 0x6F, 0xFE, 0xA6,
30  0x70, 0x45, 0x38, 0xAA, 0x54, 0xA7, 0xFF, 0x16, 0x5C, 0x8A,
31  0x94, 0xD1, 0x42, 0xA2, 0x8A, 0x57, 0xB1, 0x2E, 0xB3, 0xFE,
32  0xA6, 0xBA, 0xAE, 0x05, 0x4C, 0x49, 0x56, 0x6D, 0xE9, 0x92,
33  0xB4, 0x38, 0xEA, 0x91, 0x71, 0x74, 0x5C, 0x62, 0x0B, 0xBF,
34  0x5F, 0xC9, 0xCC, 0x65, 0xD8, 0xCC, 0x87, 0x66, 0xE4, 0xAE,
35  0x69, 0x4C, 0x1F, 0x87, 0xA5, 0xCF, 0x0B, 0x44, 0x89, 0x32,
36  0x32, 0x20, 0x28, 0x4D, 0x9D, 0xDD, 0x3C, 0x65, 0x53, 0x5D,
37  0xB3, 0xA6, 0x90, 0x8E, 0x76, 0xFA, 0x1B, 0x0A, 0xEF, 0x3B,
38  0xA4, 0xA0, 0xFB, 0x5D, 0x7B, 0x66, 0x5E, 0x35, 0xC9, 0xB8,
39  0xBE, 0xAF, 0xC1, 0x68, 0x43, 0xB1, 0x00, 0x00, 0x00, 0x00,
40  0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82,
41 };
44 {
45  static wxMemoryInputStream memIStream( showdist_png, sizeof( showdist_png ) );
46  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
47  static wxBitmap bmp( image );
48  return bmp;
49 };
52 #endif //SHOWDIST_PNG_H
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230
wxBitmap & showdist_png_to_wx_bitmap()
Definition: showdist.png.h:43