diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 3680b10211..14817d4e3e 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -181,6 +181,7 @@ set( BMAPS_MID color_materials component_select_unit config + convert copy copy_pad_settings cursor_shape diff --git a/bitmaps_png/cpp_24/convert.cpp b/bitmaps_png/cpp_24/convert.cpp new file mode 100644 index 0000000000..523104bb7f --- /dev/null +++ b/bitmaps_png/cpp_24/convert.cpp @@ -0,0 +1,61 @@ + +/* Do not modify this file, it was automatically generated by the + * PNG2cpp CMake script, using a *.png file as input. + */ + +#include + +static const unsigned char png[] = { + 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, 0x02, 0xbf, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xed, 0x55, 0x6b, 0x48, 0x53, + 0x61, 0x18, 0x3e, 0xdd, 0x7f, 0xf4, 0xb7, 0x9b, 0xe7, 0xb8, 0x14, 0x49, 0xb2, 0x0b, 0x15, 0x14, + 0x11, 0x14, 0x04, 0x61, 0x10, 0x44, 0xc9, 0xda, 0x96, 0xd0, 0x05, 0x12, 0x0a, 0xc1, 0x22, 0x8c, + 0x24, 0x6c, 0x5b, 0xf9, 0x9d, 0xe3, 0x94, 0x65, 0x74, 0xa7, 0x8d, 0x90, 0xa8, 0xbc, 0x50, 0x88, + 0x92, 0xab, 0x58, 0xce, 0xb9, 0x8e, 0x3b, 0x97, 0xfd, 0x88, 0x81, 0x20, 0xf4, 0x23, 0x89, 0x7e, + 0x14, 0x16, 0xa1, 0xa5, 0x5d, 0xa8, 0xc0, 0xe0, 0xed, 0xfd, 0xe6, 0xd9, 0x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0x61, 0x28, 0xaa, 0x4f, 0x91, 0x37, 0xfe, 0x5d, 0x47, 0x11, 0x98, 0x8d, 0x6e, 0x1f, 0x44, 0x92, + 0x97, 0xfa, 0x5c, 0xb8, 0xd1, 0xa3, 0xf5, 0x5e, 0x8d, 0x5c, 0x50, 0x1f, 0x33, 0x44, 0x9c, 0x3b, + 0xbd, 0xd6, 0x45, 0x45, 0x1c, 0x2f, 0x3b, 0x30, 0x81, 0x03, 0x13, 0xc6, 0x39, 0xaf, 0x3c, 0xa7, + 0xd5, 0x36, 0x63, 0x23, 0x82, 0xbe, 0x4c, 0x58, 0x61, 0x47, 0xb5, 0x31, 0xd0, 0xcf, 0x12, 0x71, + 0x91, 0x59, 0xd9, 0xdf, 0xd1, 0xcc, 0x5e, 0x65, 0x60, 0xcd, 0x31, 0x5e, 0x00, 0x00, 0x00, 0x00, + 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, +}; + +const BITMAP_OPAQUE convert_xpm[1] = {{ png, sizeof( png ), "convert_xpm" }}; + +//EOF diff --git a/bitmaps_png/include/bitmaps_png/bitmaps_list.h b/bitmaps_png/include/bitmaps_png/bitmaps_list.h index 0b83ca01d6..f2d3564161 100644 --- a/bitmaps_png/include/bitmaps_png/bitmaps_list.h +++ b/bitmaps_png/include/bitmaps_png/bitmaps_list.h @@ -106,6 +106,7 @@ EXTERN_BITMAP( color_materials_xpm ) EXTERN_BITMAP( component_select_alternate_shape_xpm ) EXTERN_BITMAP( component_select_unit_xpm ) EXTERN_BITMAP( config_xpm ) +EXTERN_BITMAP( convert_xpm ) EXTERN_BITMAP( copper_layers_setup_xpm ) EXTERN_BITMAP( copy_xpm ) EXTERN_BITMAP( copy_pad_settings_xpm ) diff --git a/pcbnew/tools/convert_tool.cpp b/pcbnew/tools/convert_tool.cpp index 09b305432b..ef23586a07 100644 --- a/pcbnew/tools/convert_tool.cpp +++ b/pcbnew/tools/convert_tool.cpp @@ -68,7 +68,7 @@ bool CONVERT_TOOL::Init() // Create a context menu and make it available through selection tool m_menu = new CONDITIONAL_MENU( this ); - m_menu->SetIcon( refresh24_xpm ); + m_menu->SetIcon( convert_xpm ); m_menu->SetTitle( _( "Convert..." ) ); static KICAD_T convertableTracks[] = { PCB_TRACE_T, PCB_ARC_T, EOT };