mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
84 lines
3 KiB
Text
84 lines
3 KiB
Text
#ifndef CLEARALL_PNG_H
|
|
#define CLEARALL_PNG_H
|
|
|
|
static const unsigned char clearAll_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,
|
|
0x04, 0x03, 0x00, 0x00, 0x00, 0xed, 0xdd, 0xe2,
|
|
0x52, 0x00, 0x00, 0x00, 0x15, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0,
|
|
0xc0, 0xc0, 0x80, 0x80, 0x80, 0xff, 0x00, 0x00,
|
|
0x80, 0x80, 0x00, 0x80, 0x00, 0x00, 0xbf, 0x5f,
|
|
0xc7, 0x32, 0x00, 0x00, 0x00, 0x01, 0x74, 0x52,
|
|
0x4e, 0x53, 0x00, 0x40, 0xe6, 0xd8, 0x66, 0x00,
|
|
0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00,
|
|
0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x48, 0x00,
|
|
0x46, 0xc9, 0x6b, 0x3e, 0x00, 0x00, 0x00, 0x60,
|
|
0x49, 0x44, 0x41, 0x54, 0x08, 0xd7, 0x3d, 0x8d,
|
|
0xd1, 0x0d, 0x80, 0x20, 0x0c, 0x44, 0x0f, 0x27,
|
|
0xe0, 0x0c, 0xe1, 0x5b, 0x70, 0x03, 0xe3, 0x02,
|
|
0x24, 0x95, 0x3d, 0x88, 0xb1, 0xfb, 0x8f, 0x60,
|
|
0xc1, 0xe0, 0x7d, 0x34, 0x2f, 0xbd, 0x5e, 0x0f,
|
|
0x98, 0x72, 0x1e, 0x39, 0xf7, 0xe9, 0xb8, 0xcb,
|
|
0x75, 0xd0, 0x03, 0x0c, 0x52, 0x1b, 0xcd, 0x4b,
|
|
0x94, 0xca, 0xd5, 0xe0, 0x64, 0x28, 0x7c, 0x80,
|
|
0x45, 0x12, 0x19, 0x75, 0x33, 0xc8, 0xa4, 0x0e,
|
|
0x90, 0x09, 0xe5, 0xb3, 0xec, 0x38, 0x36, 0xde,
|
|
0x23, 0xae, 0x3a, 0xe2, 0xb6, 0xd7, 0xfe, 0xd0,
|
|
0x2a, 0x54, 0x7b, 0xc5, 0x5f, 0x3a, 0xf5, 0x02,
|
|
0x2d, 0x5a, 0x0f, 0x70, 0x6e, 0x25, 0x18, 0x4b,
|
|
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, 0x34, 0x2b,
|
|
0x30, 0x35, 0x3a, 0x30, 0x30, 0x38, 0x99, 0x25,
|
|
0x1e, 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 *clearAll_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_clearAll_png = new wxImage();
|
|
if (!img_clearAll_png || !img_clearAll_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_clearAll_pngIS(clearAll_png_data, sizeof(clearAll_png_data));
|
|
img_clearAll_png->LoadFile(img_clearAll_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_clearAll_png;
|
|
}
|
|
#define clearAll_png_img clearAll_png_img()
|
|
|
|
static wxBitmap *clearAll_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_clearAll_png;
|
|
if (!bmp_clearAll_png || !bmp_clearAll_png->IsOk())
|
|
bmp_clearAll_png = new wxBitmap(*clearAll_png_img);
|
|
return bmp_clearAll_png;
|
|
}
|
|
#define clearAll_png_bmp clearAll_png_bmp()
|
|
|
|
static wxIcon *clearAll_png_ico()
|
|
{
|
|
static wxIcon *ico_clearAll_png;
|
|
if (!ico_clearAll_png || !ico_clearAll_png->IsOk())
|
|
{
|
|
ico_clearAll_png = new wxIcon();
|
|
ico_clearAll_png->CopyFromBitmap(*clearAll_png_bmp);
|
|
}
|
|
return ico_clearAll_png;
|
|
}
|
|
#define clearAll_png_ico clearAll_png_ico()
|
|
|
|
#endif // CLEARALL_PNG_H
|