Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef ZOOMEXT_PNG_H
2 #define ZOOMEXT_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char zoomext_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, 0xB4, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xB5, 0x94, 0x5B, 0x16, 0x80, 0x20,
26  0x08, 0x44, 0x6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00, 0x00,
44  0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82,
45 };
48 {
49  static wxMemoryInputStream memIStream( zoomext_png, sizeof( zoomext_png ) );
50  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
51  static wxBitmap bmp( image );
52  return bmp;
53 };
56 #endif //ZOOMEXT_PNG_H
wxBitmap & zoomext_png_to_wx_bitmap()
Definition: zoomext.png.h:47
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230