mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
118 lines
4.8 KiB
Text
118 lines
4.8 KiB
Text
#ifndef OPERATORCLASS_PNG_H
|
|
#define OPERATORCLASS_PNG_H
|
|
|
|
static const unsigned char operatorclass_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, 0xc0, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0xb7, 0xb7, 0xb7, 0x93,
|
|
0x93, 0x93, 0x79, 0x79, 0x79, 0xc2, 0xc2, 0xc2,
|
|
0x88, 0x88, 0x8b, 0xac, 0xad, 0xb3, 0xc9, 0xcc,
|
|
0xd4, 0xde, 0xe1, 0xec, 0xdd, 0xe0, 0xec, 0xc7,
|
|
0xcb, 0xd4, 0xa9, 0xac, 0xb2, 0x86, 0x88, 0x8a,
|
|
0xb2, 0xb2, 0xb2, 0xa1, 0xa1, 0xa6, 0xd5, 0xd7,
|
|
0xe0, 0xe7, 0xea, 0xf5, 0xe6, 0xea, 0xf5, 0xe5,
|
|
0xe9, 0xf5, 0xe4, 0xe9, 0xf5, 0xe2, 0xe8, 0xf5,
|
|
0xe1, 0xe8, 0xf4, 0xcd, 0xd3, 0xde, 0x9c, 0x9f,
|
|
0xa5, 0xe2, 0xe4, 0xef, 0xa0, 0xa1, 0xa6, 0x6f,
|
|
0x6f, 0x6f, 0x9e, 0xa1, 0xa6, 0xdf, 0xe7, 0xf4,
|
|
0xde, 0xe7, 0xf4, 0xd6, 0xdf, 0xed, 0x9b, 0x9f,
|
|
0xa4, 0xe1, 0x76, 0x55, 0xdf, 0x70, 0x52, 0xdc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
|
|
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 *operatorclass_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_operatorclass_png = new wxImage();
|
|
if (!img_operatorclass_png || !img_operatorclass_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_operatorclass_pngIS(operatorclass_png_data, sizeof(operatorclass_png_data));
|
|
img_operatorclass_png->LoadFile(img_operatorclass_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_operatorclass_png;
|
|
}
|
|
#define operatorclass_png_img operatorclass_png_img()
|
|
|
|
static wxBitmap *operatorclass_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_operatorclass_png;
|
|
if (!bmp_operatorclass_png || !bmp_operatorclass_png->IsOk())
|
|
bmp_operatorclass_png = new wxBitmap(*operatorclass_png_img);
|
|
return bmp_operatorclass_png;
|
|
}
|
|
#define operatorclass_png_bmp operatorclass_png_bmp()
|
|
|
|
static wxIcon *operatorclass_png_ico()
|
|
{
|
|
static wxIcon *ico_operatorclass_png;
|
|
if (!ico_operatorclass_png || !ico_operatorclass_png->IsOk())
|
|
{
|
|
ico_operatorclass_png = new wxIcon();
|
|
ico_operatorclass_png->CopyFromBitmap(*operatorclass_png_bmp);
|
|
}
|
|
return ico_operatorclass_png;
|
|
}
|
|
#define operatorclass_png_ico operatorclass_png_ico()
|
|
|
|
#endif // OPERATORCLASS_PNG_H
|