mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
108 lines
4.1 KiB
Text
108 lines
4.1 KiB
Text
#ifndef STEPS_PNG_H
|
|
#define STEPS_PNG_H
|
|
|
|
static const unsigned char steps_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, 0x93, 0x50, 0x4c, 0x54,
|
|
0x45, 0x00, 0x00, 0x00, 0xa5, 0xa5, 0xa5, 0xf2,
|
|
0x82, 0x82, 0xf1, 0x7f, 0x80, 0xef, 0x7c, 0x7c,
|
|
0xee, 0x78, 0x78, 0xec, 0x74, 0x74, 0xea, 0x6f,
|
|
0x70, 0xe8, 0x6a, 0x6b, 0xe5, 0x65, 0x65, 0xe3,
|
|
0x5f, 0x60, 0xe0, 0x5a, 0x5a, 0xde, 0x54, 0x54,
|
|
0xdb, 0x4d, 0x4e, 0xd8, 0x47, 0x47, 0xd5, 0x41,
|
|
0x41, 0xff, 0xff, 0xff, 0xfd, 0xfe, 0xff, 0xf9,
|
|
0xfd, 0xfe, 0xf6, 0xfb, 0xfd, 0xf2, 0xfa, 0xfc,
|
|
0xed, 0xf8, 0xfc, 0xe9, 0xf6, 0xfb, 0xe4, 0xf4,
|
|
0xfa, 0xde, 0xf2, 0xf9, 0xd9, 0xf0, 0xf8, 0xd3,
|
|
0x3b, 0x3b, 0x1e, 0x50, 0xad, 0xd3, 0xed, 0xf6,
|
|
0xd0, 0x35, 0x35, 0xce, 0xeb, 0xf5, 0xcd, 0x2e,
|
|
0x2f, 0xcb, 0x28, 0x29, 0xc9, 0xe9, 0xf4, 0xc3,
|
|
0xe7, 0xf3, 0xc8, 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0b,
|
|
0xaa, 0xcf, 0x4b, 0x54, 0x04, 0xbd, 0xcf, 0x8a,
|
|
0xea, 0x44, 0xb0, 0xa1, 0xfa, 0xf3, 0x05, 0x35,
|
|
0xc1, 0x41, 0x2c, 0x93, 0xf9, 0x46, 0x83, 0x96,
|
|
0xe0, 0x42, 0xf5, 0xcd, 0x15, 0x1d, 0x41, 0xef,
|
|
0xeb, 0xb6, 0xbb, 0x11, 0x3c, 0xa8, 0xfe, 0xfe,
|
|
0x40, 0x4f, 0xf0, 0x91, 0xca, 0x72, 0xbe, 0x31,
|
|
0x60, 0x24, 0x04, 0x50, 0xfd, 0xf0, 0xc4, 0x44,
|
|
0xd0, 0xfb, 0x7e, 0x9c, 0x5e, 0x84, 0xbf, 0x6f,
|
|
0x7f, 0xf2, 0x06, 0xf7, 0xe9, 0x10, 0x17, 0x85,
|
|
0xb3, 0x98, 0x76, 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, 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 *steps_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_steps_png = new wxImage();
|
|
if (!img_steps_png || !img_steps_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_steps_pngIS(steps_png_data, sizeof(steps_png_data));
|
|
img_steps_png->LoadFile(img_steps_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_steps_png;
|
|
}
|
|
#define steps_png_img steps_png_img()
|
|
|
|
static wxBitmap *steps_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_steps_png;
|
|
if (!bmp_steps_png || !bmp_steps_png->IsOk())
|
|
bmp_steps_png = new wxBitmap(*steps_png_img);
|
|
return bmp_steps_png;
|
|
}
|
|
#define steps_png_bmp steps_png_bmp()
|
|
|
|
static wxIcon *steps_png_ico()
|
|
{
|
|
static wxIcon *ico_steps_png;
|
|
if (!ico_steps_png || !ico_steps_png->IsOk())
|
|
{
|
|
ico_steps_png = new wxIcon();
|
|
ico_steps_png->CopyFromBitmap(*steps_png_bmp);
|
|
}
|
|
return ico_steps_png;
|
|
}
|
|
#define steps_png_ico steps_png_ico()
|
|
|
|
#endif // STEPS_PNG_H
|