mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
74 lines
2.7 KiB
Text
74 lines
2.7 KiB
Text
#ifndef GQBJOINCURSOR_PNG_H
|
|
#define GQBJOINCURSOR_PNG_H
|
|
|
|
static const unsigned char gqbJoinCursor_png_data[] = {
|
|
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
|
|
0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
|
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20,
|
|
0x01, 0x00, 0x00, 0x00, 0x00, 0x5b, 0x01, 0x47,
|
|
0x59, 0x00, 0x00, 0x00, 0x02, 0x74, 0x52, 0x4e,
|
|
0x53, 0x00, 0x00, 0x76, 0x93, 0xcd, 0x38, 0x00,
|
|
0x00, 0x00, 0x02, 0x62, 0x4b, 0x47, 0x44, 0x00,
|
|
0x01, 0xdd, 0x8a, 0x13, 0xa4, 0x00, 0x00, 0x00,
|
|
0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00,
|
|
0x48, 0x00, 0x00, 0x00, 0x48, 0x00, 0x46, 0xc9,
|
|
0x6b, 0x3e, 0x00, 0x00, 0x00, 0x22, 0x49, 0x44,
|
|
0x41, 0x54, 0x08, 0xd7, 0x63, 0x60, 0x80, 0x03,
|
|
0x07, 0x10, 0x91, 0x00, 0x22, 0x0a, 0x40, 0x44,
|
|
0x05, 0x9c, 0xeb, 0xc0, 0x80, 0x13, 0x30, 0xa3,
|
|
0x12, 0x70, 0x2d, 0x08, 0x82, 0x42, 0x00, 0x00,
|
|
0x7c, 0x4b, 0x03, 0x52, 0x24, 0xcf, 0x43, 0xcb,
|
|
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 *gqbJoinCursor_png_img()
|
|
{
|
|
if (!wxImage::FindHandler(wxT("PNG file")))
|
|
wxImage::AddHandler(new wxPNGHandler());
|
|
static wxImage *img_gqbJoinCursor_png = new wxImage();
|
|
if (!img_gqbJoinCursor_png || !img_gqbJoinCursor_png->IsOk())
|
|
{
|
|
wxMemoryInputStream img_gqbJoinCursor_pngIS(gqbJoinCursor_png_data, sizeof(gqbJoinCursor_png_data));
|
|
img_gqbJoinCursor_png->LoadFile(img_gqbJoinCursor_pngIS, wxBITMAP_TYPE_PNG);
|
|
}
|
|
return img_gqbJoinCursor_png;
|
|
}
|
|
#define gqbJoinCursor_png_img gqbJoinCursor_png_img()
|
|
|
|
static wxBitmap *gqbJoinCursor_png_bmp()
|
|
{
|
|
static wxBitmap *bmp_gqbJoinCursor_png;
|
|
if (!bmp_gqbJoinCursor_png || !bmp_gqbJoinCursor_png->IsOk())
|
|
bmp_gqbJoinCursor_png = new wxBitmap(*gqbJoinCursor_png_img);
|
|
return bmp_gqbJoinCursor_png;
|
|
}
|
|
#define gqbJoinCursor_png_bmp gqbJoinCursor_png_bmp()
|
|
|
|
static wxIcon *gqbJoinCursor_png_ico()
|
|
{
|
|
static wxIcon *ico_gqbJoinCursor_png;
|
|
if (!ico_gqbJoinCursor_png || !ico_gqbJoinCursor_png->IsOk())
|
|
{
|
|
ico_gqbJoinCursor_png = new wxIcon();
|
|
ico_gqbJoinCursor_png->CopyFromBitmap(*gqbJoinCursor_png_bmp);
|
|
}
|
|
return ico_gqbJoinCursor_png;
|
|
}
|
|
#define gqbJoinCursor_png_ico gqbJoinCursor_png_ico()
|
|
|
|
#endif // GQBJOINCURSOR_PNG_H
|