mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
97 lines
3.9 KiB
Text
97 lines
3.9 KiB
Text
#ifndef FOREIGNSERVER_SM_PNG_H
|
|
#define FOREIGNSERVER_SM_PNG_H
|
|
|
|
static const unsigned char foreignserver_sm_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, 0x72, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0xeb, 0xd9, 0x86, 0xe0,
|
|
0xc2, 0x59, 0xd8, 0xb1, 0x29, 0xf7, 0xef, 0xd4,
|
|
0xd8, 0xb3, 0x1f, 0xe3, 0xcd, 0x39, 0xed, 0xe2,
|
|
0x4f, 0xf4, 0xf2, 0x5f, 0xf4, 0xea, 0xc5, 0xda,
|
|
0xb7, 0x23, 0xec, 0xde, 0x4b, 0xf8, 0xf9, 0x67,
|
|
0xe6, 0xd0, 0x69, 0xe8, 0xd6, 0x43, 0xf8, 0xfa,
|
|
0x69, 0xe8, 0xd1, 0x80, 0xda, 0xb6, 0x32, 0xf4,
|
|
0xee, 0x5f, 0xf9, 0xfa, 0x6b, 0xda, 0xb6, 0x38,
|
|
0xf4, 0xef, 0x60, 0xfa, 0xfb, 0x6d, 0xe9, 0xd6,
|
|
0x47, 0xfb, 0xfb, 0x6f, 0xdb, 0xb8, 0x25, 0xee,
|
|
0xe0, 0x53, 0xfc, 0xfc, 0x72, 0xd9, 0xb3, 0x20,
|
|
0xe6, 0xce, 0x3f, 0xf1, 0xe5, 0x59, 0xfa, 0xf5,
|
|
0x6c, 0xfd, 0xfc, 0x74, 0xd6, 0xad, 0x1e, 0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x25, 0x74, 0x45, 0x58,
|
|
0x74, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x00, 0x32, 0x30, 0x31,
|
|
0x31, 0x2d, 0x30, 0x33, 0x2d, 0x30, 0x38, 0x54,
|
|
0x31, 0x32, 0x3a, 0x31, 0x37, 0x3a, 0x30, 0x39,
|
|
0x2b, 0x30, 0x36, 0x3a, 0x30, 0x30, 0xd3, 0xe6,
|
|
0xa8, 0x62, 0x00, 0x00, 0x00, 0x25, 0x74, 0x45,
|
|
0x58, 0x74, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x6d,
|
|
0x6f, 0x64, 0x69, 0x66, 0x79, 0x00, 0x32, 0x30,
|
|
0x31, 0x31, 0x2d, 0x30, 0x33, 0x2d, 0x30, 0x38,
|
|
0x54, 0x31, 0x32, 0x3a, 0x31, 0x37, 0x3a, 0x30,
|
|
0x39, 0x2b, 0x30, 0x36, 0x3a, 0x30, 0x30, 0xa2,
|
|
0xbb, 0x10, 0xde, 0x00, 0x00, 0x00, 0x00, 0x49,
|
|
0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
|
};
|
|
|
|
#include "wx/mstream.h"
|
|
|
|
static wxImage *foreignserver_sm_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_foreignserver_sm_png = new wxImage();
|
|
if (!img_foreignserver_sm_png || !img_foreignserver_sm_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_foreignserver_sm_pngIS(foreignserver_sm_png_data, sizeof(foreignserver_sm_png_data));
|
|
img_foreignserver_sm_png->LoadFile(img_foreignserver_sm_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_foreignserver_sm_png;
|
|
}
|
|
#define foreignserver_sm_png_img foreignserver_sm_png_img()
|
|
|
|
static wxBitmap *foreignserver_sm_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_foreignserver_sm_png;
|
|
if (!bmp_foreignserver_sm_png || !bmp_foreignserver_sm_png->IsOk())
|
|
bmp_foreignserver_sm_png = new wxBitmap(*foreignserver_sm_png_img);
|
|
return bmp_foreignserver_sm_png;
|
|
}
|
|
#define foreignserver_sm_png_bmp foreignserver_sm_png_bmp()
|
|
|
|
static wxIcon *foreignserver_sm_png_ico()
|
|
{
|
|
static wxIcon *ico_foreignserver_sm_png;
|
|
if (!ico_foreignserver_sm_png || !ico_foreignserver_sm_png->IsOk())
|
|
{
|
|
ico_foreignserver_sm_png = new wxIcon();
|
|
ico_foreignserver_sm_png->CopyFromBitmap(*foreignserver_sm_png_bmp);
|
|
}
|
|
return ico_foreignserver_sm_png;
|
|
}
|
|
#define foreignserver_sm_png_ico foreignserver_sm_png_ico()
|
|
|
|
#endif // FOREIGNSERVER_SM_PNG_H
|