mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
114 lines
4.6 KiB
Text
114 lines
4.6 KiB
Text
#ifndef USERMAPPINGS_PNG_H
|
|
#define USERMAPPINGS_PNG_H
|
|
|
|
static const unsigned char usermappings_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, 0x01, 0x73, 0x52, 0x47,
|
|
0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
|
|
0x00, 0xe4, 0x50, 0x4c, 0x54, 0x45, 0xd3, 0x90,
|
|
0x95, 0x84, 0x84, 0x84, 0x5c, 0x5c, 0x5c, 0xbf,
|
|
0xbf, 0xbf, 0xa0, 0xa0, 0xa0, 0x86, 0x82, 0x7e,
|
|
0xcb, 0xc1, 0xb8, 0xf2, 0xe4, 0xdb, 0xcb, 0xc1,
|
|
0xbb, 0x92, 0x8d, 0x8b, 0x7a, 0x77, 0x74, 0xf4,
|
|
0xe6, 0xda, 0xf8, 0xea, 0xe0, 0xf8, 0xea, 0xe2,
|
|
0xf7, 0xea, 0xe4, 0xf3, 0xe6, 0xe2, 0x92, 0x8d,
|
|
0x8c, 0x93, 0x93, 0x93, 0xbd, 0xb4, 0xac, 0xf7,
|
|
0xea, 0xe6, 0xf7, 0xea, 0xe8, 0xca, 0xc1, 0xc1,
|
|
0x70, 0x70, 0x70, 0xde, 0xd3, 0xca, 0xf7, 0xea,
|
|
0xea, 0xf1, 0xe4, 0xe6, 0xb6, 0xb6, 0xb6, 0x9b,
|
|
0x95, 0x92, 0x98, 0x92, 0x92, 0x55, 0x55, 0x55,
|
|
0x9b, 0x9b, 0x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 0x5d,
|
|
0x65, 0x5c, 0x4b, 0x71, 0x3a, 0xb3, 0x5f, 0xc0,
|
|
0x25, 0xfd, 0x22, 0x7a, 0xa0, 0x14, 0xd7, 0x1b,
|
|
0xfb, 0x1d, 0x86, 0xe4, 0xdb, 0x8a, 0xa3, 0x27,
|
|
0x9e, 0xd7, 0xcf, 0xfb, 0x23, 0xf2, 0x11, 0x15,
|
|
0xef, 0x04, 0x9f, 0x83, 0x05, 0x8f, 0xf3, 0x0d,
|
|
0x52, 0x41, 0xe8, 0xc0, 0x49, 0x3f, 0xc8, 0xf0,
|
|
0x06, 0x0e, 0x01, 0x1e, 0x9c, 0x6d, 0x34, 0x77,
|
|
0x91, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e,
|
|
0x44, 0xae, 0x42, 0x60, 0x82,
|
|
};
|
|
|
|
#include "wx/mstream.h"
|
|
|
|
static wxImage *usermappings_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_usermappings_png = new wxImage();
|
|
if (!img_usermappings_png || !img_usermappings_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_usermappings_pngIS(usermappings_png_data, sizeof(usermappings_png_data));
|
|
img_usermappings_png->LoadFile(img_usermappings_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_usermappings_png;
|
|
}
|
|
#define usermappings_png_img usermappings_png_img()
|
|
|
|
static wxBitmap *usermappings_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_usermappings_png;
|
|
if (!bmp_usermappings_png || !bmp_usermappings_png->IsOk())
|
|
bmp_usermappings_png = new wxBitmap(*usermappings_png_img);
|
|
return bmp_usermappings_png;
|
|
}
|
|
#define usermappings_png_bmp usermappings_png_bmp()
|
|
|
|
static wxIcon *usermappings_png_ico()
|
|
{
|
|
static wxIcon *ico_usermappings_png;
|
|
if (!ico_usermappings_png || !ico_usermappings_png->IsOk())
|
|
{
|
|
ico_usermappings_png = new wxIcon();
|
|
ico_usermappings_png->CopyFromBitmap(*usermappings_png_bmp);
|
|
}
|
|
return ico_usermappings_png;
|
|
}
|
|
#define usermappings_png_ico usermappings_png_ico()
|
|
|
|
#endif // USERMAPPINGS_PNG_H
|