diff --git a/src/jasper/tools/CMakeLists.txt b/src/jasper/tools/CMakeLists.txt index 306f5a9..e5f9fff 100644 --- a/src/jasper/tools/CMakeLists.txt +++ b/src/jasper/tools/CMakeLists.txt @@ -1,4 +1,7 @@ -add_executable(JasperStudio WIN32 MACOSX_BUNDLE) +add_executable( + JasperStudio WIN32 MACOSX_BUNDLE + icondata.cpp +) target_link_libraries( JasperStudio diff --git a/src/jasper/tools/icondata.cpp b/src/jasper/tools/icondata.cpp new file mode 100644 index 0000000..ba9d6bf --- /dev/null +++ b/src/jasper/tools/icondata.cpp @@ -0,0 +1,52 @@ +// Generated + +#include +#include + +namespace studio { + +static constexpr ox::Array WindowIcon16Data { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, + 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x01, 0xe0, + 0x00, 0x00, 0x01, 0xe0, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00, + 0xba, 0x56, 0x06, 0x00, 0x00, 0x00, 0x0c, 0x50, 0x4c, 0x54, + 0x45, 0x00, 0x00, 0x28, 0xd8, 0xd8, 0xd8, 0xa0, 0x40, 0x40, + 0xb0, 0xb0, 0xb0, 0xbb, 0x69, 0x45, 0xa6, 0x00, 0x00, 0x00, + 0xf6, 0x49, 0x44, 0x41, 0x54, 0x78, 0x01, 0xed, 0xce, 0x51, + 0x0a, 0xc2, 0x30, 0x0c, 0x80, 0x61, 0x2f, 0xd9, 0x4b, 0x7a, + 0x49, 0x65, 0x2f, 0x1b, 0xc8, 0xd4, 0xd8, 0xba, 0xd0, 0x92, + 0xef, 0x7f, 0x0b, 0x81, 0x7c, 0xb9, 0x49, 0x92, 0x24, 0x69, + 0xda, 0xda, 0x1e, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, + 0xf8, 0x2a, 0xf3, 0xed, 0x08, 0x06, 0x83, 0xc1, 0x60, 0x30, + 0x18, 0x0c, 0xfe, 0xaf, 0x99, 0xa7, 0x83, 0xc1, 0x60, 0x30, + 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, + 0x83, 0xc1, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, + 0x49, 0x92, 0x24, 0x49, 0x92, 0xa4, 0x05, 0x6b, 0x7b, 0xc9, + 0xf7, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0x6b, 0xc0, + 0x51, 0xee, 0x7e, 0x52, 0xf4, 0x05, 0x30, 0x18, 0x0c, 0x06, + 0x83, 0xc1, 0xe0, 0xc2, 0x70, 0xa7, 0xf9, 0xd8, 0x1a, 0xd2, + 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x1f, 0xe0, + 0x17, 0x13, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0xfc, + 0x15, 0xee, 0xd4, 0xc7, 0x4d, 0x30, 0x18, 0x0c, 0x06, 0x83, + 0xc1, 0xe0, 0x6a, 0xf0, 0xb1, 0x8e, 0xbe, 0x10, 0xe5, 0x22, + 0xf7, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0x0b, 0xc1, + 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0x49, 0x92, + 0x24, 0x49, 0x92, 0xa4, 0x15, 0x6a, 0x5b, 0x3f, 0x2d, 0xc0, + 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, + 0x0c, 0x06, 0x83, 0xc1, 0xe0, 0xf9, 0xe0, 0x33, 0x24, 0xc5, + 0x04, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0xae, 0x06, 0x1f, + 0x5c, 0xb2, 0x09, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x5c, + 0x0d, 0x96, 0x24, 0x49, 0x52, 0xbc, 0x27, 0x2d, 0x60, 0x99, + 0x90, 0x1e, 0xaa, 0x80, 0xb3, 0x00, 0x00, 0x00, 0x00, 0x49, + 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, +}; + +ox::SpanView WindowIcon16() noexcept { return WindowIcon16Data; } + +ox::Vector> WindowIcons() noexcept { + return { + WindowIcon16(), + }; +} + +} diff --git a/src/jasper/tools/rsrc.json b/src/jasper/tools/rsrc.json new file mode 100644 index 0000000..f2a8b80 --- /dev/null +++ b/src/jasper/tools/rsrc.json @@ -0,0 +1,11 @@ +{ + "cpp": "icondata.cpp", + "namespace": "studio", + "all_files": "WindowIcons", + "files": [ + { + "path": "js_icon480.png", + "cpp_name": "WindowIcon16" + } + ] +}