mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
106 lines
4 KiB
Text
106 lines
4 KiB
Text
#ifndef SLNODES_PNG_H
|
|
#define SLNODES_PNG_H
|
|
|
|
static const unsigned char slnodes_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, 0x00, 0x99, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0xbb, 0x95, 0xcb, 0x8c,
|
|
0x4a, 0xa7, 0xd6, 0xc4, 0xeb, 0xcd, 0xb8, 0xe8,
|
|
0xbf, 0x99, 0xce, 0xa8, 0x78, 0xc1, 0xb7, 0x94,
|
|
0xd5, 0xb9, 0x9b, 0xe0, 0xc1, 0xa4, 0xe3, 0xb1,
|
|
0x90, 0xdf, 0x9f, 0x70, 0xc8, 0x94, 0x5a, 0xb5,
|
|
0xba, 0x99, 0xd6, 0x98, 0x63, 0xbe, 0x91, 0x51,
|
|
0xaa, 0xc3, 0xa8, 0xe3, 0xb9, 0x90, 0xc9, 0xac,
|
|
0x7c, 0xc0, 0xb4, 0x8f, 0xd2, 0xb4, 0x90, 0xd3,
|
|
0xa5, 0x75, 0xbf, 0xc5, 0xad, 0xe3, 0x8d, 0x4d,
|
|
0xa9, 0xab, 0x87, 0xdc, 0xab, 0x88, 0xda, 0xb7,
|
|
0x98, 0xdc, 0xa4, 0x73, 0xbe, 0xcf, 0xbb, 0xe6,
|
|
0x93, 0x55, 0xad, 0xa8, 0x83, 0xdb, 0xa4, 0x7e,
|
|
0xd8, 0xa1, 0x7a, 0xd6, 0xa5, 0x7f, 0xd6, 0xb2,
|
|
0x8c, 0xcf, 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4d, 0x70, 0x0a,
|
|
0x23, 0x79, 0xf2, 0x8c, 0x17, 0x61, 0xe2, 0x84,
|
|
0xa7, 0x19, 0x49, 0x71, 0x15, 0x26, 0x48, 0x78,
|
|
0x5e, 0x94, 0x0c, 0xfe, 0xe6, 0xc6, 0xf3, 0x7b,
|
|
0x55, 0x13, 0xc0, 0x60, 0x9a, 0xb4, 0x68, 0x1f,
|
|
0xcf, 0x61, 0x53, 0x67, 0xa2, 0xac, 0x7c, 0xbd,
|
|
0xf1, 0xa3, 0x7e, 0x11, 0x6b, 0x89, 0xd1, 0x17,
|
|
0xa6, 0xab, 0x45, 0x7e, 0x57, 0x78, 0x08, 0xdf,
|
|
0x27, 0x50, 0xc5, 0x73, 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, 0x35, 0x2b, 0x30, 0x35, 0x3a, 0x30,
|
|
0x30, 0x9e, 0xee, 0x2e, 0xaa, 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 *slnodes_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_slnodes_png = new wxImage();
|
|
if (!img_slnodes_png || !img_slnodes_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_slnodes_pngIS(slnodes_png_data, sizeof(slnodes_png_data));
|
|
img_slnodes_png->LoadFile(img_slnodes_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_slnodes_png;
|
|
}
|
|
#define slnodes_png_img slnodes_png_img()
|
|
|
|
static wxBitmap *slnodes_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_slnodes_png;
|
|
if (!bmp_slnodes_png || !bmp_slnodes_png->IsOk())
|
|
bmp_slnodes_png = new wxBitmap(*slnodes_png_img);
|
|
return bmp_slnodes_png;
|
|
}
|
|
#define slnodes_png_bmp slnodes_png_bmp()
|
|
|
|
static wxIcon *slnodes_png_ico()
|
|
{
|
|
static wxIcon *ico_slnodes_png;
|
|
if (!ico_slnodes_png || !ico_slnodes_png->IsOk())
|
|
{
|
|
ico_slnodes_png = new wxIcon();
|
|
ico_slnodes_png->CopyFromBitmap(*slnodes_png_bmp);
|
|
}
|
|
return ico_slnodes_png;
|
|
}
|
|
#define slnodes_png_ico slnodes_png_ico()
|
|
|
|
#endif // SLNODES_PNG_H
|