diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 7275672cd8..0cb4b78f7a 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -365,7 +365,6 @@ set( BMAPS_MID pagelayout_special_view_mode part_properties paste - pcb_offset pin2pin pin_size_to pin_show_etype @@ -432,6 +431,7 @@ set( BMAPS_MID sim_add_signal sim_settings search_tree + set_origin setcolor_3d_bg setcolor_silkscreen setcolor_soldermask diff --git a/bitmaps_png/cpp_24/pcb_offset.cpp b/bitmaps_png/cpp_24/pcb_offset.cpp deleted file mode 100644 index b6a95e4770..0000000000 --- a/bitmaps_png/cpp_24/pcb_offset.cpp +++ /dev/null @@ -1,51 +0,0 @@ - -/* 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, 0x21, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0xcd, 0x4b, 0x1b, - 0x41, 0x18, 0x87, 0x17, 0x73, 0xc8, 0xc2, 0x7e, 0xce, 0x24, 0xd9, 0x6c, 0x10, 0x05, 0x31, 0xe0, - 0x49, 0x34, 0x82, 0x67, 0x89, 0x87, 0xa2, 0x60, 0xea, 0xc7, 0xc1, 0x42, 0xfb, 0x37, 0xd8, 0x43, - 0x11, 0x85, 0x52, 0xc1, 0x1e, 0x5a, 0x45, 0x50, 0x0f, 0x7a, 0x53, 0xec, 0x41, 0xc1, 0xbb, 0x78, - 0x10, 0xf4, 0xa4, 0x87, 0xfe, 0x01, 0xed, 0x46, 0x45, 0xf4, 0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 0x2d, 0xea, 0x19, 0x21, 0xfa, 0xb6, 0x2c, 0xcb, - 0x89, 0x20, 0xdb, 0x45, 0x45, 0x81, 0xab, 0x5d, 0x7d, 0x60, 0x11, 0xc2, 0xdf, 0xf8, 0xfd, 0xc0, - 0xc4, 0x61, 0x36, 0x3c, 0x3f, 0x81, 0xb3, 0xe1, 0xc5, 0x31, 0xf1, 0x61, 0x2d, 0xe7, 0x41, 0x20, - 0x01, 0x3b, 0xf9, 0xd0, 0xee, 0xc1, 0x32, 0xdb, 0x7d, 0xdb, 0x73, 0x09, 0x2a, 0xc5, 0x32, 0x3f, - 0x11, 0xdf, 0x80, 0x27, 0x6b, 0x32, 0xc3, 0x59, 0x05, 0x5f, 0x5d, 0xd7, 0x61, 0xd9, 0x74, 0x9d, - 0x29, 0xec, 0x64, 0xdc, 0x00, 0x19, 0x27, 0x73, 0xc6, 0x08, 0x97, 0xb4, 0xd7, 0xc8, 0x2c, 0x9f, - 0x7c, 0x17, 0xcc, 0x81, 0x17, 0xfc, 0x43, 0xe2, 0x59, 0x5a, 0xc4, 0xd6, 0x60, 0x8a, 0x4f, 0x2a, - 0xd6, 0x6b, 0x0d, 0xca, 0xc6, 0x5f, 0xcb, 0x3e, 0xf0, 0xfb, 0xbd, 0xb3, 0xa0, 0xb3, 0x00, 0x00, - 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE pcb_offset_xpm[1] = {{ png, sizeof( png ), "pcb_offset_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_24/set_origin.cpp b/bitmaps_png/cpp_24/set_origin.cpp new file mode 100644 index 0000000000..d047f1c565 --- /dev/null +++ b/bitmaps_png/cpp_24/set_origin.cpp @@ -0,0 +1,34 @@ + +/* 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, 0x04, 0x00, 0x00, 0x00, 0x4a, 0x7e, 0xf5, + 0x73, 0x00, 0x00, 0x01, 0x09, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0x20, 0x07, 0x84, + 0xfa, 0x91, 0xa4, 0xdc, 0x81, 0x25, 0xf8, 0x7e, 0x1a, 0x2b, 0xa6, 0xb8, 0x89, 0xa7, 0x89, 0x27, + 0x56, 0x0d, 0x41, 0x8e, 0x21, 0xff, 0x43, 0x1c, 0x30, 0xc5, 0x8d, 0xbf, 0x1b, 0x7f, 0xc7, 0xaa, + 0x21, 0xb8, 0x17, 0xa8, 0xa1, 0x07, 0x55, 0x6c, 0x3f, 0xcb, 0x6e, 0x1b, 0xe3, 0xff, 0xc6, 0xff, + 0x6b, 0x8b, 0x42, 0xd9, 0x30, 0x35, 0xdc, 0x04, 0x6a, 0xb8, 0x8d, 0x2c, 0xb2, 0xd3, 0x6a, 0xe7, + 0x95, 0x9d, 0xff, 0x41, 0x1a, 0x42, 0xfe, 0x27, 0xfc, 0xac, 0x49, 0xc5, 0xd0, 0x12, 0xf2, 0x1f, + 0x99, 0xb7, 0xdb, 0x62, 0xe7, 0xd7, 0x9d, 0xff, 0x61, 0x1a, 0x42, 0xfe, 0x87, 0xff, 0xaf, 0x4d, + 0xc1, 0xa3, 0xa1, 0x81, 0x69, 0xd7, 0x55, 0x90, 0x72, 0x84, 0x06, 0x90, 0x2d, 0x68, 0x81, 0x82, + 0xac, 0x61, 0x87, 0x23, 0x44, 0x39, 0xb2, 0x86, 0x90, 0xff, 0x55, 0x85, 0x58, 0x35, 0x98, 0x78, + 0x19, 0xff, 0x34, 0xfe, 0x8f, 0x03, 0xfe, 0x34, 0xf1, 0xa2, 0x5c, 0x03, 0x08, 0xd4, 0x95, 0xc3, + 0x9c, 0x01, 0x52, 0x06, 0x73, 0xde, 0x2e, 0x6b, 0x9c, 0x7e, 0xe8, 0xe3, 0x4c, 0xf8, 0x85, 0xa1, + 0xe1, 0xf2, 0x7e, 0x16, 0x3c, 0xc1, 0x5a, 0x97, 0x1d, 0x86, 0xaa, 0xe1, 0xcb, 0x6e, 0x0b, 0xbc, + 0xf1, 0xc0, 0xc0, 0xd0, 0x98, 0x99, 0xf8, 0x13, 0xae, 0xe1, 0xf2, 0x0e, 0x33, 0x02, 0x11, 0x07, + 0x8e, 0x0d, 0x8e, 0xba, 0x52, 0xb0, 0x06, 0xbb, 0xff, 0x8c, 0x58, 0x52, 0x13, 0xa6, 0x06, 0xbc, + 0x89, 0x0f, 0x97, 0x06, 0x9c, 0xc9, 0x1b, 0x97, 0x06, 0x3c, 0x80, 0xea, 0x1a, 0x42, 0xee, 0x86, + 0x4c, 0x0c, 0x76, 0x41, 0xca, 0x19, 0x21, 0xef, 0x43, 0xfe, 0x13, 0x01, 0xef, 0x06, 0xfb, 0x12, + 0xe9, 0x02, 0x60, 0x16, 0xeb, 0x09, 0x71, 0x70, 0x60, 0x21, 0xab, 0x84, 0x01, 0x00, 0x29, 0x03, + 0xe4, 0xb2, 0xd5, 0x4d, 0xcc, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, + 0x60, 0x82, +}; + +const BITMAP_OPAQUE set_origin_xpm[1] = {{ png, sizeof( png ), "set_origin_xpm" }}; + +//EOF diff --git a/bitmaps_png/include/bitmaps_png/bitmaps_list.h b/bitmaps_png/include/bitmaps_png/bitmaps_list.h index 56569be859..56e2529de2 100644 --- a/bitmaps_png/include/bitmaps_png/bitmaps_list.h +++ b/bitmaps_png/include/bitmaps_png/bitmaps_list.h @@ -359,7 +359,6 @@ EXTERN_BITMAP( paste_xpm ) EXTERN_BITMAP( path_xpm ) EXTERN_BITMAP( pcb_target_xpm ) EXTERN_BITMAP( pcbnew_xpm ) -EXTERN_BITMAP( pcb_offset_xpm ) EXTERN_BITMAP( pin2pin_xpm ) EXTERN_BITMAP( pin_size_to_xpm ) EXTERN_BITMAP( pin_show_etype_xpm ) @@ -458,6 +457,7 @@ EXTERN_BITMAP( select_layer_pair_xpm ) EXTERN_BITMAP( select_w_layer_xpm ) EXTERN_BITMAP( select_same_sheet_xpm ) EXTERN_BITMAP( sheetset_xpm ) +EXTERN_BITMAP( set_origin_xpm ) EXTERN_BITMAP( setcolor_3d_bg_xpm ) EXTERN_BITMAP( setcolor_silkscreen_xpm ) EXTERN_BITMAP( setcolor_soldermask_xpm ) diff --git a/bitmaps_png/sources/pcb_offset.svg b/bitmaps_png/sources/pcb_offset.svg deleted file mode 100644 index dbb0cb0fe9..0000000000 --- a/bitmaps_png/sources/pcb_offset.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/set_origin.svg b/bitmaps_png/sources/set_origin.svg index 0bff2dc528..3737130731 100755 --- a/bitmaps_png/sources/set_origin.svg +++ b/bitmaps_png/sources/set_origin.svg @@ -12,7 +12,7 @@ viewBox="0 0 24 24" version="1.1" sodipodi:docname="set_origin.svg" - inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> + inkscape:version="1.0.1 (c497b03c, 2020-09-10)"> @@ -79,16 +79,19 @@ set_origin - - + + style="fill:#545454" + d="M 2.5,1 1,6 h 3 z" + class="cls-2" + sodipodi:nodetypes="cccc" /> - + style="fill:#545454" + d="M 23,21.5 18,20 v 3 z" + class="cls-2" + sodipodi:nodetypes="cccc" /> + d="M 8.5,10.0001 A 5.5,5.5 0 1 1 14,15.5 5.5,5.5 0 0 1 8.5,10.0001 Z" + id="path159763" + style="stroke-width:1" /> + d="M 19.499995,10 A 5.5000946,5.4926439 0 0 0 14.007366,4.5 L 14,9.9924451 Z" + id="path159765" + style="stroke-width:1" /> - + - + + sodipodi:nodetypes="cc" /> diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index 60606b7257..ea4bb97fb3 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -635,7 +635,7 @@ TOOL_ACTION PCB_ACTIONS::drillOrigin( "pcbnew.EditorControl.drillOrigin", AS_GLOBAL, 0, "", _( "Drill/Place File Origin" ), _( "Place origin point for drill files and footprint position files" ), - pcb_offset_xpm, AF_ACTIVATE ); + set_origin_xpm, AF_ACTIVATE ); TOOL_ACTION PCB_ACTIONS::toggleLock( "pcbnew.EditorControl.toggleLock", AS_GLOBAL,