Adds resources and encoded resources

This commit is contained in:
Sylvain Schneider
2026-03-17 17:10:28 +01:00
parent d48abfba79
commit 806aeb4824
17 changed files with 436 additions and 0 deletions

BIN
assets/bin2c.exe Normal file

Binary file not shown.

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="floppy-disk-solid-full.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2609375"
inkscape:cx="320"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-5"
inkscape:window-y="2"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 237.3C544 220.3 537.3 204 525.3 192L448 114.7C436 102.7 419.7 96 402.7 96L160 96zM192 192C192 174.3 206.3 160 224 160L384 160C401.7 160 416 174.3 416 192L416 256C416 273.7 401.7 288 384 288L224 288C206.3 288 192 273.7 192 256L192 192zM320 352C355.3 352 384 380.7 384 416C384 451.3 355.3 480 320 480C284.7 480 256 451.3 256 416C256 380.7 284.7 352 320 352z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="minus-solid-full.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2609375"
inkscape:cx="319.60347"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1915"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="plus-solid-full.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2609375"
inkscape:cx="319.60347"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1915"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M352 128C352 110.3 337.7 96 320 96C302.3 96 288 110.3 288 128L288 288L128 288C110.3 288 96 302.3 96 320C96 337.7 110.3 352 128 352L288 352L288 512C288 529.7 302.3 544 320 544C337.7 544 352 529.7 352 512L352 352L512 352C529.7 352 544 337.7 544 320C544 302.3 529.7 288 512 288L352 288L352 128z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="rotate-left-solid-full.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2609375"
inkscape:cx="320"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-5"
inkscape:window-y="2"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M88 256L232 256C241.7 256 250.5 250.2 254.2 241.2C257.9 232.2 255.9 221.9 249 215L202.3 168.3C277.6 109.7 386.6 115 455.8 184.2C530.8 259.2 530.8 380.7 455.8 455.7C380.8 530.7 259.3 530.7 184.3 455.7C174.1 445.5 165.3 434.4 157.9 422.7C148.4 407.8 128.6 403.4 113.7 412.9C98.8 422.4 94.4 442.2 103.9 457.1C113.7 472.7 125.4 487.5 139 501C239 601 401 601 501 501C601 401 601 239 501 139C406.8 44.7 257.3 39.3 156.7 122.8L105 71C98.1 64.2 87.8 62.1 78.8 65.8C69.8 69.5 64 78.3 64 88L64 232C64 245.3 74.7 256 88 256z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="xmark-solid-full.svg"
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2609375"
inkscape:cx="319.60347"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-5"
inkscape:window-y="2"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

View File

@@ -0,0 +1,53 @@
#include <array>
#include <wx/bitmap.h>
#include <wx/mstream.h>
namespace
{
//--------------------------------------------------------------
// clang-format off
constexpr auto bitmapData = std::to_array<uint8_t>({
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xE0, 0x77, 0x3D,
0xF8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x8D, 0x00, 0x00, 0x00,
0x8D, 0x01, 0xC6, 0x66, 0xF7, 0xA4, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6F,
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2E, 0x69, 0x6E, 0x6B, 0x73, 0x63,
0x61, 0x70, 0x65, 0x2E, 0x6F, 0x72, 0x67, 0x9B, 0xEE, 0x3C, 0x1A, 0x00, 0x00, 0x01, 0x2F, 0x49,
0x44, 0x41, 0x54, 0x48, 0x89, 0xED, 0x95, 0xBD, 0x4A, 0x03,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x47, 0x09, 0x0E, 0x4A, 0x9F, 0xDA, 0xFE, 0x94, 0x54, 0xDC, 0x03, 0x7B, 0xC0, 0x3E,
0xD0, 0x4B, 0x2D, 0x8A, 0xB5, 0xA8, 0xB2, 0x17, 0xA0, 0xA8, 0x24, 0x41, 0xD2, 0x0D, 0xF0, 0x08,
0xAC, 0xC7, 0x0A, 0x53, 0x4F, 0xD0, 0xAB, 0xEB, 0x8D, 0xED, 0x77, 0x12, 0x4F, 0x91, 0x4A, 0xB0,
0x25, 0x69, 0x90, 0x5B, 0x7E, 0x77, 0x66, 0x49, 0xD0, 0x01, 0x4E, 0x25, 0xB5, 0x25, 0xAD, 0x01,
0x67, 0xC0, 0x66, 0x52, 0xE5, 0x8C, 0xC4, 0xAE, 0xEE, 0x3B, 0x3F, 0xA9, 0x69, 0x46, 0xFF, 0xB5,
0x4C, 0x0B, 0x7E, 0x47, 0x5F, 0x1C, 0x07, 0x98, 0x0A, 0x67, 0x72, 0x39, 0x70, 0x0A, 0x46, 0x95,
0x35, 0x66, 0xAF, 0xC0, 0xB5, 0xED, 0xCF, 0x21, 0xBC, 0xFF, 0xA1, 0x1F, 0xB3, 0x6F, 0x68, 0x56,
0xDC, 0x8C, 0xF8, 0xB1, 0x07, 0x79, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42,
0x60, 0x82
});
// clang-format on
//--------------------------------------------------------------
} // namespace
//--------------------------------------------------------------
const wxBitmap &icon_floppy_disk_24x24() // NOLINT(misc-use-internal-linkage)
{
static wxBitmap bmp;
if (!bmp.IsOk())
{
wxMemoryInputStream is(bitmapData.data(), bitmapData.size());
bmp = wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1);
}
return bmp;
}
//--------------------------------------------------------------

View File

@@ -0,0 +1,40 @@
#include <array>
#include <wx/bitmap.h>
#include <wx/mstream.h>
namespace
{
//--------------------------------------------------------------
// clang-format off
constexpr auto bitmapData = std::to_array<uint8_t>({
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xE0, 0x77, 0x3D,
0xF8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x8D, 0x00, 0x00, 0x00,
0x8D, 0x01, 0xC6, 0x66, 0xF7, 0xA4, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6F,
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2E, 0x69, 0x6E, 0x6B, 0x73, 0x63,
0x61, 0x70, 0x65, 0x2E, 0x6F, 0x72, 0x67, 0x9B, 0xEE, 0x3C, 0x1A, 0x00, 0x00, 0x00, 0x69, 0x49,
0x44, 0x41, 0x54, 0x48, 0x89, 0xED, 0x94, 0x31, 0x0A, 0x80, 0x40, 0x0C, 0x04, 0x27, 0xE2, 0x13,
0xEC, 0x7D, 0x88, 0xFE, 0xFF, 0x1F, 0xDA, 0xEA, 0x13, 0x94, 0xB5, 0x52, 0xBC, 0x14, 0x16, 0x77,
0x5E, 0x71, 0x90, 0x85, 0x34, 0x21, 0xD9, 0x81, 0x25, 0xC4, 0x24, 0x51, 0x53, 0x5D, 0x55, 0xF7,
0x00, 0x04, 0x20, 0x00, 0x00, 0xF4, 0xBE, 0x61, 0x66, 0x23, 0x30, 0x64, 0xFA, 0xED, 0x92, 0x96,
0xA4, 0x23, 0xE9, 0x29, 0x60, 0x06, 0x4E, 0x40, 0x99, 0x75, 0x00, 0xD3, 0xDB, 0xD3, 0x47, 0x74,
0x0F, 0x96, 0x28, 0xD9, 0x37, 0xFF, 0xEC, 0x0A, 0x23, 0xDA, 0x24, 0xAD, 0x9F, 0x80, 0xBF, 0xD5,
0xFE, 0x99, 0x06, 0x20, 0x00, 0x0D, 0x00, 0x2E, 0xA4, 0x0D, 0x38, 0x72, 0xA4, 0xA0, 0x2F, 0x0D,
0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82
});
// clang-format on
//--------------------------------------------------------------
} // namespace
//--------------------------------------------------------------
const wxBitmap &icon_minus_24x24() // NOLINT(misc-use-internal-linkage)
{
static wxBitmap bmp;
if (!bmp.IsOk())
{
wxMemoryInputStream is(bitmapData.data(), bitmapData.size());
bmp = wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1);
}
return bmp;
}
//--------------------------------------------------------------

View File

@@ -0,0 +1,46 @@
#include <array>
#include <wx/bitmap.h>
#include <wx/mstream.h>
namespace
{
//--------------------------------------------------------------
// clang-format off
constexpr auto bitmapData = std::to_array<uint8_t>({
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xE0, 0x77, 0x3D,
0xF8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x8D, 0x00, 0x00, 0x00,
0x8D, 0x01, 0xC6, 0x66, 0xF7, 0xA4, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6F,
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2E, 0x69, 0x6E, 0x6B, 0x73, 0x63,
0x61, 0x70, 0x65, 0x2E, 0x6F, 0x72, 0x67, 0x9B, 0xEE, 0x3C, 0x1A, 0x00, 0x00, 0x00, 0xC0, 0x49,
0x44, 0x41, 0x54, 0x48, 0x89, 0xE5, 0x94, 0x31, 0x0E, 0x82, 0x50, 0x10, 0x44, 0x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, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE,
0x42, 0x60, 0x82
});
// clang-format on
//--------------------------------------------------------------
} // namespace
//--------------------------------------------------------------
const wxBitmap &icon_plus_24x24() // NOLINT(misc-use-internal-linkage)
{
static wxBitmap bmp;
if (!bmp.IsOk())
{
wxMemoryInputStream is(bitmapData.data(), bitmapData.size());
bmp = wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1);
}
return bmp;
}
//--------------------------------------------------------------

View File

@@ -0,0 +1,60 @@
#include <array>
#include <wx/bitmap.h>
#include <wx/mstream.h>
namespace
{
//--------------------------------------------------------------
// clang-format off
constexpr auto bitmapData = std::to_array<uint8_t>({
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xE0, 0x77, 0x3D,
0xF8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x8D, 0x00, 0x00, 0x00,
0x8D, 0x01, 0xC6, 0x66, 0xF7, 0xA4, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6F,
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2E, 0x69, 0x6E, 0x6B, 0x73, 0x63,
0x61, 0x70, 0x65, 0x2E, 0x6F, 0x72, 0x67, 0x9B, 0xEE, 0x3C, 0x1A, 0x00, 0x00, 0x01, 0x9E, 0x49,
0x44, 0x41, 0x54, 0x48, 0x89, 0xB5, 0xD6, 0xBF, 0x6A, 0x54, 0x41, 0x14, 0x06, 0xF0, 0xDF, 0xB8,
0xD9, 0x8D, 0x06, 0x4B, 0x0B, 0x0D, 0x89, 0x8F, 0x60, 0xAD, 0x16, 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D, 0x97, 0xB0, 0x1C, 0xE6, 0xBD, 0x68, 0xC5,
0x9D, 0x3C, 0xE5, 0xC9, 0x9C, 0x0A, 0xF0, 0xBF, 0x32, 0xF7, 0xBF, 0x8A, 0xDF, 0xAD, 0x7A, 0x6F,
0xB6, 0xEA, 0x73, 0xB1, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60,
0x82
});
// clang-format on
//--------------------------------------------------------------
} // namespace
//--------------------------------------------------------------
const wxBitmap &icon_rotate_left_24x24() // NOLINT(misc-use-internal-linkage)
{
static wxBitmap bmp;
if (!bmp.IsOk())
{
wxMemoryInputStream is(bitmapData.data(), bitmapData.size());
bmp = wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1);
}
return bmp;
}
//--------------------------------------------------------------

View File

@@ -0,0 +1,48 @@
#include <array>
#include <wx/bitmap.h>
#include <wx/mstream.h>
namespace
{
//--------------------------------------------------------------
// clang-format off
constexpr auto bitmapData = std::to_array<uint8_t>({
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xE0, 0x77, 0x3D,
0xF8, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x8D, 0x00, 0x00, 0x00,
0x8D, 0x01, 0xC6, 0x66, 0xF7, 0xA4, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6F,
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2E, 0x69, 0x6E, 0x6B, 0x73, 0x63,
0x61, 0x70, 0x65, 0x2E, 0x6F, 0x72, 0x67, 0x9B, 0xEE, 0x3C, 0x1A, 0x00, 0x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 0x4B, 0x58, 0x12, 0x39, 0x8B, 0x72, 0xEA, 0x61, 0x57, 0x46,
0x35, 0xB1, 0x86, 0x5C, 0xF1, 0x0C, 0x3B, 0x71, 0xA2, 0x4E, 0x88, 0x48, 0x01, 0x64, 0xAA, 0x7A,
0x8A, 0xB9, 0x89, 0x22, 0x32, 0x77, 0xFA, 0xF3, 0x20, 0x67, 0x01, 0xBE, 0x19, 0x13, 0xFD, 0x65,
0x7E, 0x33, 0x5E, 0x9B, 0xE0, 0xA4, 0x87, 0x67, 0x34, 0xD0, 0xD5, 0x00, 0x00, 0x00, 0x00, 0x49,
0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82
});
// clang-format on
//--------------------------------------------------------------
} // namespace
//--------------------------------------------------------------
const wxBitmap &icon_xmark_24x24() // NOLINT(misc-use-internal-linkage)
{
static wxBitmap bmp;
if (!bmp.IsOk())
{
wxMemoryInputStream is(bitmapData.data(), bitmapData.size());
bmp = wxBitmap(wxImage(is, wxBITMAP_TYPE_ANY, -1), -1);
}
return bmp;
}
//--------------------------------------------------------------

View File

@@ -5,6 +5,15 @@
#include <wx/image.h> #include <wx/image.h>
#include <wx/mstream.h> #include <wx/mstream.h>
//--------------------------------------------------------------
//--- icons_24x24 ----------------------------------------------
//--------------------------------------------------------------
extern const wxBitmap &icon_floppy_disk_24x24();
extern const wxBitmap &icon_minus_24x24();
extern const wxBitmap &icon_plus_24x24();
extern const wxBitmap &icon_rotate_left_24x24();
extern const wxBitmap &icon_xmark_24x24();
//-------------------------------------------------------------- //--------------------------------------------------------------
//-------------------------------------------------------------- //--------------------------------------------------------------