mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
122 lines
5 KiB
Text
122 lines
5 KiB
Text
#ifndef ENUMERATION_PNG_H
|
|
#define ENUMERATION_PNG_H
|
|
|
|
static const unsigned char enumeration_png_data[] = {
|
|
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
|
|
0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
|
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10,
|
|
0x08, 0x03, 0x00, 0x00, 0x00, 0x28, 0x2d, 0x0f,
|
|
0x53, 0x00, 0x00, 0x01, 0x1d, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0x8f, 0xc2, 0xd6, 0x35,
|
|
0x92, 0xb5, 0x26, 0x8a, 0xaf, 0xc7, 0xe1, 0xea,
|
|
0x3e, 0x9a, 0xba, 0xb9, 0xed, 0xf2, 0xbc, 0xf5,
|
|
0xf7, 0xba, 0xf5, 0xf6, 0xbc, 0xf6, 0xf7, 0xbc,
|
|
0xf7, 0xf7, 0xbe, 0xf8, 0xf8, 0xc2, 0xf9, 0xf8,
|
|
0xbe, 0xf2, 0xf4, 0x41, 0x9c, 0xbb, 0xc4, 0xdf,
|
|
0xe9, 0x6d, 0xb1, 0xc9, 0x8c, 0xce, 0xde, 0xac,
|
|
0xed, 0xf3, 0x50, 0x74, 0x77, 0x4f, 0x75, 0x77,
|
|
0xa5, 0xef, 0xf2, 0x51, 0x76, 0x77, 0x52, 0x77,
|
|
0x78, 0x53, 0x77, 0x78, 0x54, 0x78, 0x78, 0x55,
|
|
0x79, 0x78, 0x56, 0x79, 0x79, 0xbb, 0xf8, 0xf7,
|
|
0x96, 0xd6, 0xe1, 0x6b, 0xaf, 0xc8, 0x33, 0x91,
|
|
0xb4, 0xa6, 0xe3, 0xed, 0x9a, 0xe5, 0xee, 0x90,
|
|
0xe4, 0xed, 0x91, 0xe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, 0x22, 0xa3, 0xa2, 0x63, 0x62, 0xf5,
|
|
0xe2, 0x58, 0xf9, 0xb1, 0xb8, 0x83, 0x0a, 0x00,
|
|
0x00, 0x78, 0x5e, 0x12, 0xbf, 0xe5, 0x04, 0x93,
|
|
0x6e, 0x00, 0x00, 0x00, 0x25, 0x74, 0x45, 0x58,
|
|
0x74, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x00, 0x32, 0x30, 0x31,
|
|
0x30, 0x2d, 0x31, 0x32, 0x2d, 0x30, 0x31, 0x54,
|
|
0x32, 0x30, 0x3a, 0x34, 0x33, 0x3a, 0x34, 0x34,
|
|
0x2b, 0x30, 0x35, 0x3a, 0x30, 0x30, 0x38, 0x99,
|
|
0x25, 0x1e, 0x00, 0x00, 0x00, 0x25, 0x74, 0x45,
|
|
0x58, 0x74, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x6d,
|
|
0x6f, 0x64, 0x69, 0x66, 0x79, 0x00, 0x32, 0x30,
|
|
0x31, 0x30, 0x2d, 0x30, 0x39, 0x2d, 0x30, 0x31,
|
|
0x54, 0x32, 0x33, 0x3a, 0x34, 0x34, 0x3a, 0x30,
|
|
0x36, 0x2b, 0x30, 0x35, 0x3a, 0x30, 0x30, 0xca,
|
|
0x97, 0x55, 0xac, 0x00, 0x00, 0x00, 0x00, 0x49,
|
|
0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
|
};
|
|
|
|
#include "wx/mstream.h"
|
|
|
|
static wxImage *enumeration_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_enumeration_png = new wxImage();
|
|
if (!img_enumeration_png || !img_enumeration_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_enumeration_pngIS(enumeration_png_data, sizeof(enumeration_png_data));
|
|
img_enumeration_png->LoadFile(img_enumeration_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_enumeration_png;
|
|
}
|
|
#define enumeration_png_img enumeration_png_img()
|
|
|
|
static wxBitmap *enumeration_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_enumeration_png;
|
|
if (!bmp_enumeration_png || !bmp_enumeration_png->IsOk())
|
|
bmp_enumeration_png = new wxBitmap(*enumeration_png_img);
|
|
return bmp_enumeration_png;
|
|
}
|
|
#define enumeration_png_bmp enumeration_png_bmp()
|
|
|
|
static wxIcon *enumeration_png_ico()
|
|
{
|
|
static wxIcon *ico_enumeration_png;
|
|
if (!ico_enumeration_png || !ico_enumeration_png->IsOk())
|
|
{
|
|
ico_enumeration_png = new wxIcon();
|
|
ico_enumeration_png->CopyFromBitmap(*enumeration_png_bmp);
|
|
}
|
|
return ico_enumeration_png;
|
|
}
|
|
#define enumeration_png_ico enumeration_png_ico()
|
|
|
|
#endif // ENUMERATION_PNG_H
|