mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
87 lines
3.2 KiB
Text
87 lines
3.2 KiB
Text
#ifndef MVIEW_SM_PNG_H
|
|
#define MVIEW_SM_PNG_H
|
|
|
|
static const unsigned char mview_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, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff,
|
|
0x61, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59,
|
|
0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00, 0x0b,
|
|
0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00,
|
|
0x01, 0x0a, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb,
|
|
0x63, 0x60, 0x18, 0x68, 0xc0, 0x08, 0x63, 0x6c,
|
|
0xb9, 0x18, 0xfd, 0xff, 0xc5, 0xb7, 0x83, 0x44,
|
|
0x69, 0x32, 0x94, 0x29, 0x64, 0x30, 0x96, 0x2d,
|
|
0x66, 0x64, 0x60, 0x60, 0x60, 0x60, 0x81, 0x09,
|
|
0xbe, 0xfa, 0x7e, 0x94, 0xc1, 0xcd, 0xb4, 0x8a,
|
|
0x81, 0xf1, 0x97, 0x20, 0xc3, 0xff, 0x1f, 0xe2,
|
|
0x0c, 0x4c, 0x7f, 0x44, 0x19, 0x18, 0xff, 0x72,
|
|
0x33, 0x30, 0xfe, 0xe7, 0x80, 0x6b, 0xfc, 0xcf,
|
|
0xf8, 0x83, 0xe1, 0x13, 0xc3, 0x69, 0x86, 0xbb,
|
|
0xaf, 0x36, 0xc1, 0xc5, 0xe0, 0x06, 0xfc, 0xfb,
|
|
0xff, 0x87, 0xe1, 0x3f, 0xf3, 0x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52,
|
|
0x1e, 0x78, 0x00, 0x00, 0x10, 0x6b, 0x57, 0x5d,
|
|
0x16, 0xbb, 0xff, 0xb2, 0x00, 0x00, 0x00, 0x00,
|
|
0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
|
};
|
|
|
|
#include "wx/mstream.h"
|
|
|
|
static wxImage *mview_sm_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_mview_sm_png = new wxImage();
|
|
if (!img_mview_sm_png || !img_mview_sm_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_mview_sm_pngIS(mview_sm_png_data, sizeof(mview_sm_png_data));
|
|
img_mview_sm_png->LoadFile(img_mview_sm_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_mview_sm_png;
|
|
}
|
|
#define mview_sm_png_img mview_sm_png_img()
|
|
|
|
static wxBitmap *mview_sm_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_mview_sm_png;
|
|
if (!bmp_mview_sm_png || !bmp_mview_sm_png->IsOk())
|
|
bmp_mview_sm_png = new wxBitmap(*mview_sm_png_img);
|
|
return bmp_mview_sm_png;
|
|
}
|
|
#define mview_sm_png_bmp mview_sm_png_bmp()
|
|
|
|
static wxIcon *mview_sm_png_ico()
|
|
{
|
|
static wxIcon *ico_mview_sm_png;
|
|
if (!ico_mview_sm_png || !ico_mview_sm_png->IsOk())
|
|
{
|
|
ico_mview_sm_png = new wxIcon();
|
|
ico_mview_sm_png->CopyFromBitmap(*mview_sm_png_bmp);
|
|
}
|
|
return ico_mview_sm_png;
|
|
}
|
|
#define mview_sm_png_ico mview_sm_png_ico()
|
|
|
|
#endif // MVIEW_SM_PNG_H
|