diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 91b21d43f0..73b20d28ca 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -186,9 +186,7 @@ set( BMAPS_MID component_select_unit component_select_alternate_shape config - copycomponent copy - copy_library copy_pad_settings copper_layers_setup cursor_shape @@ -229,7 +227,6 @@ set( BMAPS_MID drc duplicate edges_sketch - edit_component edit_comp_footprint edit_comp_ref edit_comp_value @@ -298,7 +295,6 @@ set( BMAPS_MID import3d image import_brd_file - import_cmp_from_lib import_document import_footprint_names import_hierarchical_label @@ -511,8 +507,6 @@ set( BMAPS_MID save_as save_gerber save_library - save_part - save_part_in_mem save_project save_setup save diff --git a/bitmaps_png/cpp_26/copy_library.cpp b/bitmaps_png/cpp_26/copy_library.cpp deleted file mode 100644 index f06af4643b..0000000000 --- a/bitmaps_png/cpp_26/copy_library.cpp +++ /dev/null @@ -1,87 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x04, 0x61, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xc5, 0xd5, 0x0b, 0x4c, 0x53, - 0x57, 0x18, 0x07, 0xf0, 0x3b, 0x5d, 0x4b, 0xa9, 0x7d, 0xdf, 0x0e, 0x5a, 0x90, 0x87, 0xa2, 0x50, - 0x94, 0x16, 0x01, 0x99, 0x50, 0x8a, 0x0f, 0x16, 0x4c, 0x96, 0xb9, 0xad, 0x04, 0x31, 0x8b, 0x3c, - 0x4a, 0x79, 0x95, 0xc2, 0xdc, 0xcc, 0x36, 0xd4, 0x05, 0x9c, 0x80, 0xd0, 0x6d, 0x0a, 0x21, 0x73, - 0x99, 0xcb, 0x74, 0x33, 0x0e, 0xba, 0x42, 0x49, 0x31, 0x4b, 0x06, 0xa2, 0x2d, 0x75, 0x2f, 0x8d, - 0x14, 0x79, 0x68, 0x1b, 0xba, 0x4c, 0xb2, 0xb0, 0x10, 0x21, 0x2a, 0x6e, 0x2b, 0x42, 0x21, 0xcd, - 0x80, 0x6f, 0xf7, 0x31, 0x36, 0xea, 0x2a, 0x2b, 0x8e, 0x64, 0x27, 0xf9, 0x27, 0x37, 0xb7, 0xe7, - 0xe6, 0xd7, 0xf3, 0xdd, 0x73, 0xbe, 0x8b, 0x20, 0xff, 0x71, 0xb8, 0x5c, 0xae, 0x4a, 0x83, 0xc1, - 0x30, 0xd7, 0xda, 0xda, 0x0a, 0x78, 0xf0, 0xeb, 0x99, 0x99, 0x99, 0x6a, 0x64, 0xa5, 0xc7, 0xe0, - 0xe0, 0x60, 0x1f, 0x97, 0xe9, 0x0b, 0x79, 0xdb, 0x03, 0x88, 0xf0, 0xb0, 0x6b, 0xab, 0xd5, 0x7a, - 0xf3, 0xb1, 0x0f, 0x64, 0x70, 0x11, 0x76, 0x11, 0x4a, 0x51, 0x54, 0xb3, 0xa8, 0x59, 0x78, 0x14, - 0x3c, 0x6a, 0xba, 0x60, 0x3b, 0x53, 0x21, 0x4c, 0x47, 0xb3, 0xf0, 0x08, 0x12, 0x98, 0x0a, 0xde, - 0x06, 0x84, 0xf5, 0xe8, 0x73, 0x36, 0x9b, 0xad, 0x6f, 0x53, 0x30, 0x0a, 0x53, 0x27, 0xc2, 0x60, - 0xea, 0x64, 0x18, 0x88, 0x43, 0xf9, 0x70, 0x13, 0x1b, 0x4b, 0x42, 0xe7, 0xd6, 0xac, 0x56, 0x8e, - 0x50, 0x28, 0xea, 0x11, 0x04, 0x51, 0xbf, 0x8a, 0x41, 0x21, 0x47, 0xfc, 0xf3,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 0x82, -}; - -const BITMAP_OPAQUE copy_library_xpm[1] = {{ png, sizeof( png ), "copy_library_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/copycomponent.cpp b/bitmaps_png/cpp_26/copycomponent.cpp deleted file mode 100644 index 979a1bbe0f..0000000000 --- a/bitmaps_png/cpp_26/copycomponent.cpp +++ /dev/null @@ -1,68 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x03, 0x31, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x18, 0xf6, 0xa0, - 0xd2, 0xce, 0xda, 0xaf, 0xc8, 0xd2, 0xd2, 0x90, 0xe6, 0x16, 0x55, 0x39, 0x38, 0xa4, 0x4c, 0x4e, - 0x8e, 0xca, 0xaf, 0x76, 0xb0, 0x8b, 0x4e, 0x52, 0x57, 0xe7, 0xa5, 0xa9, 0x45, 0x2f, 0xaf, 0xef, - 0x2e, 0x39, 0xb3, 0x7e, 0x66, 0x71, 0x8d, 0x83, 0x5d, 0x76, 0xa9, 0x95, 0xa9, 0x01, 0xd5, 0x0c, - 0x2f, 0x30, 0x30, 0x50, 0xc8, 0xd5, 0xd7, 0x77, 0x03, 0xe1, 0x62, 0x0b, 0xb3, 0xdc, 0xe7, 0x57, - 0x77, 0x96, 0x7c, 0x79, 0x7a, 0xac, 0xe4, 0x25, 0x90, 0x9e, 0x92, 0x16, 0x9b, 0x57, 0x6e, 0x67, - 0x13, 0x95, 0xa5, 0xad, 0xcd, 0x43, 0xb1, 0x45, 0xa0, 0x20, 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, - 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE copycomponent_xpm[1] = {{ png, sizeof( png ), "copycomponent_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/edit_component.cpp b/bitmaps_png/cpp_26/edit_component.cpp deleted file mode 100644 index 4039a6e6e3..0000000000 --- a/bitmaps_png/cpp_26/edit_component.cpp +++ /dev/null @@ -1,44 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x01, 0xb1, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x18, 0x11, 0xe0, - 0x3f, 0x03, 0x03, 0xe3, 0x22, 0x06, 0x06, 0x73, 0x10, 0x4d, 0x53, 0x8b, 0xe6, 0x33, 0x30, 0x68, - 0x2c, 0x00, 0xda, 0xb7, 0x88, 0x95, 0x75, 0xdf, 0x3c, 0x06, 0x06, 0x59, 0x9a, 0x59, 0x04, 0xf4, - 0x8d, 0x0e, 0xc8, 0xa2, 0xb5, 0xaa, 0xf2, 0xbf, 0x17, 0xb2, 0xb0, 0x7c, 0x05, 0x5a, 0x9c, 0x40, - 0x53, 0x8b, 0x5e, 0x9d, 0xdb, 0xf8, 0xff, 0x7c, 0x63, 0xfe, 0x7f, 0xa0, 0x65, 0x7f, 0x17, 0xb3, - 0xb2, 0xee, 0x59, 0xc8, 0xc0, 0x20, 0x4d, 0x13, 0x8b, 0x5e, 0x9f, 0xdf, 0xf4, 0xff, 0xf3, 0xd3, - 0xa3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, 0x30, 0x08, 0xd2, 0xc4, 0x22, 0x18, 0xbe, 0xbf, - 0x6e, 0xda, 0xff, 0x55, 0xd2, 0x12, 0x3f, 0x81, 0x89, 0xe5, 0x13, 0x50, 0xef, 0x4a, 0x20, 0x9e, - 0x09, 0xcc, 0x7f, 0x33, 0x80, 0x58, 0x81, 0x68, 0x8b, 0x40, 0x29, 0xee, 0xd3, 0xa3, 0xc3, 0xb4, - 0xb7, 0xe8, 0x44, 0x5e, 0xfc, 0xff, 0x8b, 0x6d, 0xc5, 0xb8, 0x83, 0x2e, 0x13, 0x18, 0x74, 0x8c, - 0x14, 0x06, 0xdd, 0xa1, 0xb8, 0xc0, 0xff, 0x6b, 0x95, 0xe4, 0xfe, 0xaf, 0xd7, 0x52, 0xf9, 0x7f, - 0xb2, 0x30, 0x11, 0x35, 0x31, 0x6c, 0x81, 0x27, 0x86, 0xb7, 0x14, 0x27, 0x86, 0x3b, 0x4b, 0xfb, - 0xfe, 0xef, 0x74, 0xb5, 0xfe, 0xbf, 0x2f, 0xc4, 0xe3, 0xff, 0xfd, 0xb5, 0x53, 0x29, 0x4b, 0xde, - 0x84, 0x32, 0xec, 0x95, 0xfe, 0xea, 0xff, 0xb7, 0x17, 0x75, 0xa3, 0x64, 0xd8, 0x85, 0xc0, 0x0c, - 0x0b, 0x0c, 0xff, 0x20, 0x9a, 0x16, 0x41, 0x8b, 0xd8, 0x58, 0xd6, 0x03, 0xd5, 0x8b, 0xd2, 0xac, - 0x50, 0x5d, 0x48, 0x69, 0xa1, 0x3a, 0xe0, 0xd5, 0x04, 0xcd, 0x2b, 0x3e, 0xba, 0x55, 0xe5, 0x74, - 0x6b, 0x9c, 0x0c, 0x69, 0x00, 0x00, 0x6e, 0xbd, 0x12, 0xca, 0xfe, 0xfd, 0x83, 0xbe, 0x00, 0x00, - 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE edit_component_xpm[1] = {{ png, sizeof( png ), "edit_component_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/import_cmp_from_lib.cpp b/bitmaps_png/cpp_26/import_cmp_from_lib.cpp deleted file mode 100644 index 8bb40aa8a5..0000000000 --- a/bitmaps_png/cpp_26/import_cmp_from_lib.cpp +++ /dev/null @@ -1,67 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x03, 0x1b, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xed, 0x96, 0x6d, 0x48, 0x53, - 0x51, 0x18, 0xc7, 0xcf, 0xdc, 0x2e, 0x6a, 0x20, 0x2a, 0x45, 0x20, 0xf6, 0xe2, 0xd2, 0x74, 0xd4, - 0xc4, 0xc8, 0x0c, 0x24, 0x14, 0x82, 0x19, 0x94, 0x41, 0x2f, 0xf6, 0x22, 0xb9, 0x20, 0x82, 0x66, - 0xa6, 0x69, 0x5f, 0x4c, 0xb2, 0xc2, 0x3e, 0x48, 0xe2, 0x08, 0xa3, 0x3e, 0x69, 0x58, 0x7a, 0xb7, - 0xae, 0xd0, 0x62, 0xad, 0x1a, 0xd8, 0x07, 0x5b, 0x6e, 0xb9, 0x5c, 0xb0, 0x09, 0x11, 0x51, 0x5a, - 0xad, 0x1c, 0x4b, 0xc1, 0x2f, 0x36, 0x13, 0x47, 0xce, 0x79, 0x9f, 0xce, 0xb9, 0xec, 0xb2, 0x17, - 0x9d, 0xdd, 0xd5, 0xfa, 0xd6, 0x81, 0x3f, 0xbb, 0xbb, 0x9c, 0x7b, 0x7e, 0x3c, 0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xaa, 0x5e, 0x72, 0x9e, 0x30, 0x60, 0x96, 0xa4, 0x85, 0xa0, 0x85, 0xf1, 0xc4, 0x63, 0xb8, 0x97, - 0xba, 0x10, 0xbd, 0xa6, 0x71, 0xa8, 0xf2, 0x8b, 0x5a, 0x94, 0x07, 0x39, 0x9b, 0x93, 0xeb, 0x40, - 0xfe, 0x71, 0x09, 0x81, 0xe7, 0x0c, 0xe0, 0xb9, 0x99, 0x82, 0x2b, 0xc0, 0x93, 0xf7, 0x62, 0x58, - 0x17, 0x2f, 0x5c, 0x91, 0x89, 0xa6, 0x82, 0xa0, 0x99, 0x71, 0x33, 0x90, 0x36, 0x46, 0x66, 0xde, - 0x5f, 0xbf, 0x31, 0x23, 0xcd, 0x10, 0x4c, 0x71, 0x49, 0x58, 0x8a, 0xc7, 0x15, 0x34, 0x69, 0x66, - 0xe0, 0xb1, 0x3c, 0xd7, 0x87, 0x5b, 0xf5, 0x93, 0x9c, 0x0b, 0x21, 0x6f, 0xdd, 0x98, 0x40, 0xf7, - 0x93, 0x12, 0x17, 0x46, 0xae, 0xd6, 0x02, 0xb6, 0xac, 0x5f, 0x43, 0x51, 0xc3, 0xb8, 0x8a, 0x4d, - 0x71, 0xff, 0xd8, 0x20, 0x20, 0x2e, 0xc1, 0xc5, 0xe2, 0x79, 0x7c, 0x7d, 0x21, 0xae, 0x55, 0x84, - 0x8e, 0xbb, 0x08, 0x15, 0xf4, 0x8a, 0x44, 0x4f, 0xf0, 0x6f, 0x1e, 0xfa, 0x3f, 0xa2, 0x8c, 0x5f, - 0x6f, 0x7c, 0x4c, 0xa7, 0x5c, 0xeb, 0xa7, 0xee, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, - 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE import_cmp_from_lib_xpm[1] = {{ png, sizeof( png ), "import_cmp_from_lib_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/save_part.cpp b/bitmaps_png/cpp_26/save_part.cpp deleted file mode 100644 index e2394254ff..0000000000 --- a/bitmaps_png/cpp_26/save_part.cpp +++ /dev/null @@ -1,63 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x02, 0xde, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x5f, 0x48, 0x53, - 0x51, 0x1c, 0xc7, 0xef, 0x66, 0xb5, 0xde, 0x8b, 0xc8, 0x22, 0x4b, 0x6d, 0xba, 0x36, 0x37, 0xa7, - 0xa2, 0x09, 0x46, 0xa8, 0x9b, 0x6e, 0x3d, 0x8c, 0x59, 0xe0, 0x83, 0x19, 0x11, 0x24, 0xc3, 0x4d, - 0xb2, 0x84, 0x8a, 0x2c, 0x83, 0x4d, 0x97, 0x60, 0x30, 0x7d, 0xd0, 0xb2, 0x82, 0x7a, 0xc8, 0xde, - 0x32, 0x8c, 0x46, 0x10, 0xdb, 0x6a, 0x54, 0x64, 0xf9, 0x6f, 0x03, 0xc3, 0xa0, 0xe5, 0x1e, 0x82, - 0x8a, 0x5a, 0x6a, 0xd2, 0x30, 0xb4, 0x9a, 0xdf, 0xce, 0x3d, 0x78, 0x83, 0x4d, 0xe7, 0xbd, 0x0a, - 0xf7, 0xc0, 0x87, 0xdd, 0xbb, 0xfb, 0xfb, 0x9d, 0x0f, 0xbf, 0x73, 0xce, 0xbd, 0xe7, 0x30, 0x4c, - 0x42, 0xb3, 0x33, 0x8c, 0x92, 0xfc, 0x48, 0x18, 0x31, 0x1b, 0x91, 0x14, 0x11, 0xe0, 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1, 0x08, 0x83, 0xd1, 0x90, 0x14, 0xf6, 0x79, 0x45, 0x45, 0x05, 0xb4, 0x5a, 0x2d, - 0xa2, 0xd1, 0x28, 0x2b, 0x7a, 0x23, 0xe8, 0xb8, 0x45, 0x02, 0x9b, 0xd8, 0xe8, 0x48, 0x24, 0x02, - 0x9f, 0xcf, 0x07, 0xaf, 0xd7, 0xcb, 0x8b, 0xdf, 0xef, 0xe7, 0x24, 0x8b, 0x84, 0x43, 0x8c, 0xd0, - 0x03, 0x24, 0x09, 0x3e, 0x49, 0x18, 0x27, 0xfc, 0x15, 0xb8, 0x1f, 0xcd, 0xb3, 0x95, 0x10, 0x0c, - 0x6c, 0xfe, 0x3f, 0x7d, 0x10, 0x91, 0xc1, 0xb4, 0x64, 0xbd, 0xba, 0x00, 0x00, 0x00, 0x00, 0x49, - 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE save_part_xpm[1] = {{ png, sizeof( png ), "save_part_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/save_part_in_mem.cpp b/bitmaps_png/cpp_26/save_part_in_mem.cpp deleted file mode 100644 index b5dc4d7a5c..0000000000 --- a/bitmaps_png/cpp_26/save_part_in_mem.cpp +++ /dev/null @@ -1,74 +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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c, - 0xce, 0x00, 0x00, 0x03, 0x95, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xad, 0x96, 0x6b, 0x48, 0x53, - 0x61, 0x18, 0xc7, 0xdf, 0xed, 0x6c, 0x73, 0xb6, 0x79, 0xcb, 0x5b, 0x17, 0x8a, 0x2e, 0x58, 0x54, - 0x10, 0x44, 0x65, 0x44, 0x56, 0x52, 0x69, 0xf6, 0xa9, 0x8c, 0x34, 0x89, 0x2c, 0x57, 0x5e, 0x2a, - 0xb2, 0xe8, 0x62, 0xf4, 0x25, 0x68, 0x52, 0xb1, 0x94, 0x05, 0x05, 0x81, 0xd5, 0xcc, 0x22, 0xec, - 0x83, 0x4a, 0xf4, 0xc5, 0x5a, 0x49, 0x94, 0x76, 0x19, 0xa5, 0x59, 0x2d, 0xb4, 0xdb, 0x66, 0x4a, - 0xd1, 0x2c, 0xcd, 0x2e, 0xeb, 0xe2, 0x36, 0xcf, 0xfe, 0xbd, 0xef, 0x49, 0x45, 0x74, 0x67, 0x67, - 0x99, 0x0f, 0xfc, 0x79, 0xcf, 0x73, 0x78, 0x78, 0x7e, 0xe7, 0x79, 0xdf, 0xe7, 0x9c, 0xe7, 0x10, - 0x32, 0xc8, 0x0e, 0x13, 0x32, 0x93, 0x2e, 0x32, 0x22, 0x62, 0x00, 0x8c, 0x4e, 0xa7, 0xb3, 0xa7, - 0xab, 0xab, 0x0b, 0x62, 0xf2, 0x78, 0x3c, 0x1f, 0x68, 0x5c, 0xbc, 0x58, 0x0e, 0x06, 0x89, 0xa7, - 0x82, 0x5e, 0x26, 0xbb, 0x79, 0x84, 0x90, 0x09, 0x3e, 0x20, 0xc1, 0x0e, 0x87, 0xc3, 0xcb, 0x29, - 0x38, 0x30, 0x57, 0x4c, 0xeb, 0x33, 0xd2, 0x69, 0x28, 0xce, 0xfa, 0x03, 0x25, 0x32, 0xd0, 0x61, - 0x99, 0x0c, 0x7a, 0x4e, 0xee, 0xa4, 0xd7, 0x59, 0x83, 0x40, 0xa1, 0x36, 0x9b, 0x4d, 0x48, 0x96, - 0xa8, 0x57, 0x21, 0xe5, 0xd4, 0x50, 0x4d, 0x5e, 0xce, 0x21, 0x39, 0x65, 0x05, 0x03, 0x95, 0x49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0x60, 0x82, -}; - -const BITMAP_OPAQUE save_part_in_mem_xpm[1] = {{ png, sizeof( png ), "save_part_in_mem_xpm" }}; - -//EOF diff --git a/bitmaps_png/sources/copy_library.svg b/bitmaps_png/sources/copy_library.svg deleted file mode 100644 index 3578ef1f9d..0000000000 --- a/bitmaps_png/sources/copy_library.svg +++ /dev/null @@ -1,433 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/copycomponent.svg b/bitmaps_png/sources/copycomponent.svg deleted file mode 100644 index fbf1f05a06..0000000000 --- a/bitmaps_png/sources/copycomponent.svg +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/edit_part.svg b/bitmaps_png/sources/edit_part.svg deleted file mode 100644 index c08e89a42c..0000000000 --- a/bitmaps_png/sources/edit_part.svg +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/import_cmp_from_lib.svg b/bitmaps_png/sources/import_cmp_from_lib.svg deleted file mode 100644 index 264f1b406a..0000000000 --- a/bitmaps_png/sources/import_cmp_from_lib.svg +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/save_part.svg b/bitmaps_png/sources/save_part.svg deleted file mode 100644 index b732722e40..0000000000 --- a/bitmaps_png/sources/save_part.svg +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/save_part_in_mem.svg b/bitmaps_png/sources/save_part_in_mem.svg deleted file mode 100644 index 20eb206b07..0000000000 --- a/bitmaps_png/sources/save_part_in_mem.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/common/dialog_about/AboutDialog_main.cpp b/common/dialog_about/AboutDialog_main.cpp index b0b1af5701..5e173e45fb 100644 --- a/common/dialog_about/AboutDialog_main.cpp +++ b/common/dialog_about/AboutDialog_main.cpp @@ -430,7 +430,7 @@ static void buildKicadAboutBanner( EDA_BASE_FRAME* aParent, ABOUT_APP_INFO& aInf wxEmptyString, "https://github.com/KiCad/kicad-symbols/graphs/contributors", SYMBOL_LIB_CONTRIBUTION, - aInfo.CreateKiBitmap( edit_component_xpm ) ) ); + aInfo.CreateKiBitmap( new_component_xpm ) ) ); #define FOOTPRINT_LIB_CONTRIBUTION _( "Footprints by" ) aInfo.AddArtist( new CONTRIBUTOR( "GitHub contributors", diff --git a/eeschema/eeschema_id.h b/eeschema/eeschema_id.h index 7d123805d5..8d77933cfc 100644 --- a/eeschema/eeschema_id.h +++ b/eeschema/eeschema_id.h @@ -207,25 +207,17 @@ enum id_eeschema_frm ID_HOTKEY_HIGHLIGHT, - /* Library editor main menubar IDs. */ - ID_LIBEDIT_DIMENSIONS, - - /* Library editor: library edit events */ + /* Library editor: edit events */ ID_LIBEDIT_NEW_LIBRARY, ID_LIBEDIT_ADD_LIBRARY, - ID_LIBEDIT_SAVE_LIBRARY, - ID_LIBEDIT_SAVE_LIBRARY_AS, - ID_LIBEDIT_SAVE_ALL_LIBS, - ID_LIBEDIT_REVERT_LIBRARY, - - /* Library editor: part edit events */ + ID_LIBEDIT_SAVE, + ID_LIBEDIT_SAVE_AS, + ID_LIBEDIT_SAVE_ALL, + ID_LIBEDIT_REVERT, ID_LIBEDIT_NEW_PART, ID_LIBEDIT_EDIT_PART, ID_LIBEDIT_IMPORT_PART, ID_LIBEDIT_EXPORT_PART, - ID_LIBEDIT_SAVE_PART, - ID_LIBEDIT_SAVE_PART_AS, - ID_LIBEDIT_REVERT_PART, ID_LIBEDIT_REMOVE_PART, ID_LIBEDIT_DUPLICATE_PART, diff --git a/eeschema/lib_edit_frame.cpp b/eeschema/lib_edit_frame.cpp index ad93b0334b..eaa46ceddc 100644 --- a/eeschema/lib_edit_frame.cpp +++ b/eeschema/lib_edit_frame.cpp @@ -90,22 +90,17 @@ BEGIN_EVENT_TABLE( LIB_EDIT_FRAME, EDA_DRAW_FRAME ) EVT_SIZE( LIB_EDIT_FRAME::OnSize ) EVT_ACTIVATE( LIB_EDIT_FRAME::OnActivate ) - // Library actions + // Actions EVT_TOOL( ID_LIBEDIT_NEW_LIBRARY, LIB_EDIT_FRAME::OnCreateNewLibrary ) EVT_TOOL( ID_LIBEDIT_ADD_LIBRARY, LIB_EDIT_FRAME::OnAddLibrary ) - EVT_TOOL( ID_LIBEDIT_SAVE_LIBRARY, LIB_EDIT_FRAME::OnSaveLibrary ) - EVT_MENU( ID_LIBEDIT_SAVE_LIBRARY_AS, LIB_EDIT_FRAME::OnSaveLibrary ) - EVT_MENU( ID_LIBEDIT_SAVE_ALL_LIBS, LIB_EDIT_FRAME::OnSaveAllLibraries ) - EVT_TOOL( ID_LIBEDIT_REVERT_LIBRARY, LIB_EDIT_FRAME::OnRevertLibrary ) - - // Part actions + EVT_TOOL( ID_LIBEDIT_SAVE, LIB_EDIT_FRAME::OnSave ) + EVT_MENU( ID_LIBEDIT_SAVE_AS, LIB_EDIT_FRAME::OnSaveAs ) + EVT_MENU( ID_LIBEDIT_SAVE_ALL, LIB_EDIT_FRAME::OnSaveAll ) + EVT_TOOL( ID_LIBEDIT_REVERT, LIB_EDIT_FRAME::OnRevert ) EVT_TOOL( ID_LIBEDIT_NEW_PART, LIB_EDIT_FRAME::OnCreateNewPart ) EVT_TOOL( ID_LIBEDIT_EDIT_PART, LIB_EDIT_FRAME::OnEditPart ) EVT_TOOL( ID_LIBEDIT_IMPORT_PART, LIB_EDIT_FRAME::OnImportPart ) EVT_TOOL( ID_LIBEDIT_EXPORT_PART, LIB_EDIT_FRAME::OnExportPart ) - EVT_TOOL( ID_LIBEDIT_SAVE_PART, LIB_EDIT_FRAME::OnSavePart ) - EVT_TOOL( ID_LIBEDIT_SAVE_PART_AS, LIB_EDIT_FRAME::OnSavePartAs ) - EVT_TOOL( ID_LIBEDIT_REVERT_PART, LIB_EDIT_FRAME::OnRevertPart ) EVT_TOOL( ID_LIBEDIT_REMOVE_PART, LIB_EDIT_FRAME::OnRemovePart ) EVT_TOOL( ID_LIBEDIT_DUPLICATE_PART, LIB_EDIT_FRAME::OnDuplicatePart ) @@ -171,19 +166,15 @@ BEGIN_EVENT_TABLE( LIB_EDIT_FRAME, EDA_DRAW_FRAME ) // Update user interface elements. EVT_UPDATE_UI( wxID_PASTE, LIB_EDIT_FRAME::OnUpdatePaste ) - EVT_UPDATE_UI( ID_LIBEDIT_REVERT_LIBRARY, LIB_EDIT_FRAME::OnUpdateLibModified ) EVT_UPDATE_UI( ID_LIBEDIT_EXPORT_PART, LIB_EDIT_FRAME::OnUpdateHavePart ) - EVT_UPDATE_UI( ID_LIBEDIT_SAVE_PART, LIB_EDIT_FRAME::OnUpdatePartModified ) - EVT_UPDATE_UI( ID_LIBEDIT_SAVE_PART_AS, LIB_EDIT_FRAME::OnUpdateHavePart ) - EVT_UPDATE_UI( ID_LIBEDIT_REVERT_PART, LIB_EDIT_FRAME::OnUpdatePartModified ) + EVT_UPDATE_UI( ID_LIBEDIT_SAVE, LIB_EDIT_FRAME::OnUpdateSave ) + EVT_UPDATE_UI( ID_LIBEDIT_SAVE_AS, LIB_EDIT_FRAME::OnUpdateSaveAs ) + EVT_UPDATE_UI( ID_LIBEDIT_REVERT, LIB_EDIT_FRAME::OnUpdateRevert ) EVT_UPDATE_UI( ID_LIBEDIT_GET_FRAME_EDIT_FIELDS, LIB_EDIT_FRAME::OnUpdateEditingPart ) EVT_UPDATE_UI( ID_LIBEDIT_CHECK_PART, LIB_EDIT_FRAME::OnUpdateEditingPart ) EVT_UPDATE_UI( ID_LIBEDIT_GET_FRAME_EDIT_PART, LIB_EDIT_FRAME::OnUpdateEditingPart ) EVT_UPDATE_UI( wxID_UNDO, LIB_EDIT_FRAME::OnUpdateUndo ) EVT_UPDATE_UI( wxID_REDO, LIB_EDIT_FRAME::OnUpdateRedo ) - EVT_UPDATE_UI( ID_LIBEDIT_SAVE_LIBRARY, LIB_EDIT_FRAME::OnUpdateSaveLib ) - EVT_UPDATE_UI( ID_LIBEDIT_SAVE_LIBRARY_AS, LIB_EDIT_FRAME::OnUpdateSaveLibAs ) - EVT_UPDATE_UI( ID_LIBEDIT_SAVE_ALL_LIBS, LIB_EDIT_FRAME::OnUpdateSaveAll ) EVT_UPDATE_UI( ID_LIBEDIT_VIEW_DOC, LIB_EDIT_FRAME::OnUpdateViewDoc ) EVT_UPDATE_UI( ID_LIBEDIT_SYNC_PIN_EDIT, LIB_EDIT_FRAME::OnUpdateSyncPinEdit ) EVT_UPDATE_UI( ID_LIBEDIT_EDIT_PIN_BY_TABLE, LIB_EDIT_FRAME::OnUpdatePinTable ) @@ -493,11 +484,46 @@ void LIB_EDIT_FRAME::OnUpdateSearchTreeTool( wxUpdateUIEvent& aEvent ) } -void LIB_EDIT_FRAME::OnUpdateHavePart( wxUpdateUIEvent& aEvent ) +void LIB_EDIT_FRAME::OnUpdateSave( wxUpdateUIEvent& aEvent ) { LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); + bool readOnly = libName.IsEmpty() || m_libMgr->IsLibraryReadOnly( libName ); - aEvent.Enable( libId.IsValid() ); + if( partName.IsEmpty() ) + aEvent.Enable( !readOnly && m_libMgr->IsLibraryModified( libName ) ); + else + aEvent.Enable( !readOnly && m_libMgr->IsPartModified( partName, libName ) ); +} + + +void LIB_EDIT_FRAME::OnUpdateSaveAs( wxUpdateUIEvent& aEvent ) +{ + LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); + + aEvent.Enable( !libName.IsEmpty() || !partName.IsEmpty() ); +} + + +void LIB_EDIT_FRAME::OnUpdateRevert( wxUpdateUIEvent& aEvent ) +{ + LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); + + if( partName.IsEmpty() ) + aEvent.Enable( !libName.IsEmpty() && m_libMgr->IsLibraryModified( libName ) ); + else + aEvent.Enable( !libName.IsEmpty() && m_libMgr->IsPartModified( partName, libName ) ); +} + + +void LIB_EDIT_FRAME::OnUpdateHavePart( wxUpdateUIEvent& aEvent ) +{ + aEvent.Enable( getTargetLibId().IsValid() ); } @@ -512,41 +538,12 @@ void LIB_EDIT_FRAME::OnUpdateEditingPart( wxUpdateUIEvent& aEvent ) } -void LIB_EDIT_FRAME::OnUpdatePartModified( wxUpdateUIEvent& aEvent ) -{ - LIB_ID libId = getTargetLibId(); - const wxString& partName = libId.GetLibItemName(); - const wxString& libName = libId.GetLibNickname(); - - if( aEvent.GetId() == ID_LIBEDIT_SAVE_PART ) - { - bool readOnly = libName.IsEmpty() || m_libMgr->IsLibraryReadOnly( libName ); - - aEvent.SetText( readOnly ? _( "&Save Symbol [Read Only]" ) : _( "&Save Symbol" ) ); - aEvent.Enable( !readOnly && !partName.IsEmpty() - && m_libMgr->IsPartModified( partName, libName ) ); - } - else if( aEvent.GetId() == ID_LIBEDIT_REVERT_PART ) - { - aEvent.Enable( !partName.IsEmpty() && !libName.IsEmpty() - && m_libMgr->IsPartModified( partName, libName ) ); - } - else wxFAIL; -} - - void LIB_EDIT_FRAME::OnUpdatePaste( wxUpdateUIEvent& event ) { event.Enable( m_clipboard.GetCount() > 0 ); } -void LIB_EDIT_FRAME::OnUpdateLibModified( wxUpdateUIEvent& aEvent ) -{ - aEvent.Enable( m_libMgr->IsLibraryModified( getTargetLib() ) ); -} - - void LIB_EDIT_FRAME::OnUpdateUndo( wxUpdateUIEvent& event ) { event.Enable( GetCurPart() && GetScreen() && @@ -561,43 +558,6 @@ void LIB_EDIT_FRAME::OnUpdateRedo( wxUpdateUIEvent& event ) } -void LIB_EDIT_FRAME::OnUpdateSaveLib( wxUpdateUIEvent& event ) -{ - wxString lib = getTargetLib(); - bool readOnly = lib.IsEmpty() || m_libMgr->IsLibraryReadOnly( lib ); - - event.SetText( readOnly ? _( "&Save Library [Read Only]" ) : _( "&Save Library" ) ); - event.Enable( !readOnly && m_libMgr->IsLibraryModified( lib ) ); -} - - -void LIB_EDIT_FRAME::OnUpdateSaveLibAs( wxUpdateUIEvent& event ) -{ - wxString lib = getTargetLib(); - - event.Enable( m_libMgr->LibraryExists( lib ) ); -} - - -void LIB_EDIT_FRAME::OnUpdateSaveAll( wxUpdateUIEvent& event ) -{ - int modified = 0; - - for( const auto& lib : m_libMgr->GetLibraryNames() ) - { - if( m_libMgr->IsLibraryModified( lib ) ) - modified++; - - if( modified > 1 ) - break; - } - - event.SetText( AddHotkeyName( modified > 1 ? _( "&Save..." ) : _( "&Save All" ), - g_Libedit_Hokeys_Descr, HK_SAVE ) ); - event.Enable( modified > 0 ); -} - - void LIB_EDIT_FRAME::OnUpdateViewDoc( wxUpdateUIEvent& event ) { bool enable = false; diff --git a/eeschema/lib_edit_frame.h b/eeschema/lib_edit_frame.h index 4877d51cb6..746b698274 100644 --- a/eeschema/lib_edit_frame.h +++ b/eeschema/lib_edit_frame.h @@ -245,24 +245,6 @@ public: addLibraryFile( false ); } - /** - * The command event handler to save the changes to the current library. - * - * A backup file of the current library is saved with the .bak extension before the - * changes made to the library are saved. - */ - void OnSaveLibrary( wxCommandEvent& event ); - - /** - * Saves all changes in modified libraries. - */ - void OnSaveAllLibraries( wxCommandEvent& event ); - - /** - * Reverts unsaved changes in a library. - */ - void OnRevertLibrary( wxCommandEvent& aEvent ); - /** * Creates a new part in the selected library. */ @@ -288,16 +270,24 @@ public: void OnExportPart( wxCommandEvent& event ); /** - * Saves a single part in the selected library. The library file is updated without including - * the remaining unsaved changes. + * Saves the selected part or library. */ - void OnSavePart( wxCommandEvent& aEvent ); - void OnSavePartAs( wxCommandEvent& aEvent ); + void OnSave( wxCommandEvent& aEvent ); + + /** + * Saves the selected part or library to a new name and/or location. + */ + void OnSaveAs( wxCommandEvent& aEvent ); + + /** + * Saves all modified parts and libraries. + */ + void OnSaveAll( wxCommandEvent& aEvent ); /** * Reverts unsaved changes in a part, restoring to the last saved state. */ - void OnRevertPart( wxCommandEvent& aEvent ); + void OnRevert( wxCommandEvent& aEvent ); /** * Removes a part from the working copy of a library. @@ -335,15 +325,12 @@ public: void OnUpdatePaste( wxUpdateUIEvent& event ); void OnUpdateSelectTool( wxUpdateUIEvent& aEvent ); void OnUpdateEditingPart( wxUpdateUIEvent& event ); - void OnUpdatePartModified( wxUpdateUIEvent& aEvent ); void OnUpdateHavePart( wxUpdateUIEvent& aEvent ); - void OnUpdateLibModified( wxUpdateUIEvent& aEvent ); - void OnUpdateClipboardNotEmpty( wxUpdateUIEvent& aEvent ); + void OnUpdateSave( wxUpdateUIEvent& aEvent ); + void OnUpdateSaveAs( wxUpdateUIEvent& aEvent ); + void OnUpdateRevert( wxUpdateUIEvent& aEvent ); void OnUpdateUndo( wxUpdateUIEvent& event ); void OnUpdateRedo( wxUpdateUIEvent& event ); - void OnUpdateSaveLib( wxUpdateUIEvent& event ); - void OnUpdateSaveLibAs( wxUpdateUIEvent& event ); - void OnUpdateSaveAll( wxUpdateUIEvent& event ); void OnUpdateViewDoc( wxUpdateUIEvent& event ); void OnUpdateSyncPinEdit( wxUpdateUIEvent& event ); void OnUpdatePinTable( wxUpdateUIEvent& event ); @@ -486,6 +473,8 @@ public: private: void loadPart( const wxString& aLibrary, const wxString& aPart, int Unit ); + void savePartAs(); + /** * Saves the changes to the current library. * diff --git a/eeschema/libedit.cpp b/eeschema/libedit.cpp index 615d96be77..58881b8a68 100644 --- a/eeschema/libedit.cpp +++ b/eeschema/libedit.cpp @@ -230,43 +230,13 @@ void LIB_EDIT_FRAME::RedrawActiveWindow( wxDC* DC, bool EraseBg ) } -void LIB_EDIT_FRAME::OnSaveLibrary( wxCommandEvent& event ) -{ - saveLibrary( getTargetLib(), event.GetId() == ID_LIBEDIT_SAVE_LIBRARY_AS ); - m_treePane->Refresh(); -} - - -void LIB_EDIT_FRAME::OnSaveAllLibraries( wxCommandEvent& event ) +void LIB_EDIT_FRAME::OnSaveAll( wxCommandEvent& event ) { saveAllLibraries( false ); m_treePane->Refresh(); } -void LIB_EDIT_FRAME::OnRevertLibrary( wxCommandEvent& aEvent ) -{ - wxString libName = getTargetLib(); - wxString curLib = GetCurLib(); - bool currentLib = ( libName == curLib || curLib.IsEmpty() ); - - // Save the current part name/unit to reload after revert - wxString alias = m_aliasName; - int unit = m_unit; - - if( !IsOK( this, _( "The revert operation cannot be undone!\n\nRevert changes?" ) ) ) - return; - - if( currentLib ) - emptyScreen(); - - m_libMgr->RevertLibrary( libName ); - - if( currentLib && m_libMgr->PartExists( alias, libName ) ) - loadPart( alias, libName, unit ); -} - - void LIB_EDIT_FRAME::OnCreateNewPart( wxCommandEvent& event ) { m_canvas->EndMouseCapture( ID_NO_TOOL_SELECTED, m_canvas->GetDefaultCursor() ); @@ -354,18 +324,43 @@ void LIB_EDIT_FRAME::OnEditPart( wxCommandEvent& aEvent ) } -void LIB_EDIT_FRAME::OnSavePart( wxCommandEvent& aEvent ) +void LIB_EDIT_FRAME::OnSave( wxCommandEvent& aEvent ) { LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); - if( m_libMgr->FlushPart( libId.GetLibItemName(), libId.GetLibNickname() ) ) - m_libMgr->ClearPartModified( libId.GetLibItemName(), libId.GetLibNickname() ); + if( partName.IsEmpty() ) + { + saveLibrary( getTargetLib(), false ); + } + else + { + // Save Part + if( m_libMgr->FlushPart( libId.GetLibItemName(), libId.GetLibNickname() ) ) + m_libMgr->ClearPartModified( libId.GetLibItemName(), libId.GetLibNickname() ); + } m_treePane->Refresh(); } -void LIB_EDIT_FRAME::OnSavePartAs( wxCommandEvent& aEvent ) +void LIB_EDIT_FRAME::OnSaveAs( wxCommandEvent& aEvent ) +{ + LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); + + if( partName.IsEmpty() ) + saveLibrary( getTargetLib(), true ); + else + savePartAs(); + + m_treePane->Refresh(); +} + + +void LIB_EDIT_FRAME::savePartAs() { LIB_ID old_lib_id = getTargetLibId(); wxString old_name = old_lib_id.GetLibItemName(); @@ -530,22 +525,38 @@ void LIB_EDIT_FRAME::fixDuplicateAliases( LIB_PART* aPart, const wxString& aLibr } -void LIB_EDIT_FRAME::OnRevertPart( wxCommandEvent& aEvent ) +void LIB_EDIT_FRAME::OnRevert( wxCommandEvent& aEvent ) { LIB_ID libId = getTargetLibId(); + const wxString& libName = libId.GetLibNickname(); + const wxString& partName = libId.GetLibItemName(); + + if( !IsOK( this, _( "The revert operation cannot be undone!\n\nRevert changes?" ) ) ) + return; + bool currentPart = isCurrentPart( libId ); + wxString alias = m_aliasName; int unit = m_unit; if( currentPart ) emptyScreen(); - libId = m_libMgr->RevertPart( libId.GetLibItemName(), libId.GetLibNickname() ); + if( partName.IsEmpty() ) + { + m_libMgr->RevertLibrary( libName ); + } + else + { + libId = m_libMgr->RevertPart( libId.GetLibItemName(), libId.GetLibNickname() ); - m_treePane->GetCmpTree()->SelectLibId( libId ); - m_libMgr->ClearPartModified( libId.GetLibItemName(), libId.GetLibNickname() ); + m_treePane->GetCmpTree()->SelectLibId( libId ); + m_libMgr->ClearPartModified( libId.GetLibItemName(), libId.GetLibNickname() ); + } - if( currentPart && m_libMgr->PartExists( libId.GetLibItemName(), libId.GetLibNickname() ) ) - loadPart( libId.GetLibItemName(), libId.GetLibNickname(), unit ); + if( currentPart && m_libMgr->PartExists( alias, libName ) ) + loadPart( alias, libName, unit ); + + m_treePane->Refresh(); } diff --git a/eeschema/menubar_libedit.cpp b/eeschema/menubar_libedit.cpp index 981c3d61d6..7ade9e427f 100644 --- a/eeschema/menubar_libedit.cpp +++ b/eeschema/menubar_libedit.cpp @@ -74,22 +74,29 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() text = AddHotkeyName( _( "&Save" ), g_Libedit_Hokeys_Descr, HK_SAVE ); AddMenuItem( fileMenu, - ID_LIBEDIT_SAVE_ALL_LIBS, + ID_LIBEDIT_SAVE, text, _( "Save changes" ), KiBitmap( save_xpm ) ); + text = AddHotkeyName( _( "Save &As..." ), g_Libedit_Hokeys_Descr, HK_SAVEAS ); AddMenuItem( fileMenu, - ID_LIBEDIT_SAVE_LIBRARY_AS, - _( "Save Library As..." ), - _( "Save the current library to a new file" ), + ID_LIBEDIT_SAVE_AS, + text, + _( "Save to a new name and/or location" ), KiBitmap( save_as_xpm ) ); AddMenuItem( fileMenu, - ID_LIBEDIT_SAVE_PART_AS, - _( "Save Symbol As..." ), - _( "Save the current symbol to a new name and/or new library" ), - KiBitmap( save_part_xpm ) ); + ID_LIBEDIT_SAVE_ALL, + _( "Save All" ), + _( "Save all library and symbol changes" ), + KiBitmap( save_xpm ) ); + + AddMenuItem( fileMenu, + ID_LIBEDIT_REVERT, + _( "&Revert" ), + _( "Throw away changes" ), + KiBitmap( undo_xpm ) ); fileMenu->AppendSeparator(); @@ -154,9 +161,7 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() ID_LIBEDIT_GET_FRAME_EDIT_FIELDS, _( "&Fields..." ), _( "Edit field properties" ), - KiBitmap( edit_text_xpm ) ); - - editMenu->AppendSeparator(); + KiBitmap( field_properties_xpm ) ); AddMenuItem( editMenu, ID_LIBEDIT_EDIT_PIN_BY_TABLE, @@ -164,15 +169,17 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() _( "Show pin table" ), KiBitmap( pin_table_xpm ) ); - AddMenuItem( editMenu, - ID_LIBEDIT_CHECK_PART, - _( "Electrical Rules &Checker" ), - _( "Check duplicate and off grid pins" ), - KiBitmap( erc_xpm ) ); - // Menu View: wxMenu* viewMenu = new wxMenu; + AddMenuItem( viewMenu, + ID_TO_LIBVIEW, + _( "Library Browser" ), + _( "Open the symbol viewer" ), + KiBitmap( library_browse_xpm ) ); + + viewMenu->AppendSeparator(); + /** * Important Note for ZOOM IN and ZOOM OUT commands from menubar: * we cannot add hotkey info here, because the hotkey HK_ZOOM_IN and HK_ZOOM_OUT @@ -261,6 +268,21 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() HELP_ADD_BODYPOLYGON, KiBitmap( add_polygon_xpm ) ); + // Menu Inspect: + wxMenu* inspectMenu = new wxMenu; + + AddMenuItem( inspectMenu, + ID_LIBEDIT_VIEW_DOC, + _( "Show Datasheet" ), + _( "Open associated datasheet in web browser" ), + KiBitmap( datasheet_xpm ) ); + + AddMenuItem( inspectMenu, + ID_LIBEDIT_CHECK_PART, + _( "Electrical Rules &Checker" ), + _( "Check duplicate and off grid pins" ), + KiBitmap( erc_xpm ) ); + // Menu Preferences: wxMenu* preferencesMenu = new wxMenu; @@ -329,6 +351,7 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() menuBar->Append( editMenu, _( "&Edit" ) ); menuBar->Append( viewMenu, _( "&View" ) ); menuBar->Append( placeMenu, _( "&Place" ) ); + menuBar->Append( inspectMenu, _( "&Inspect" ) ); menuBar->Append( preferencesMenu, _( "P&references" ) ); menuBar->Append( helpMenu, _( "&Help" ) ); diff --git a/eeschema/tool_lib.cpp b/eeschema/tool_lib.cpp index c444891e32..0029f096c5 100644 --- a/eeschema/tool_lib.cpp +++ b/eeschema/tool_lib.cpp @@ -111,21 +111,13 @@ void LIB_EDIT_FRAME::ReCreateHToolbar() KICAD_AUI_TB_STYLE | wxAUI_TB_HORZ_LAYOUT ); // Set up toolbar - m_mainToolBar->AddTool( ID_LIBEDIT_NEW_LIBRARY, wxEmptyString, - KiScaledBitmap( new_library_xpm, this ), - _( "Create a new library" ) ); - - m_mainToolBar->AddTool( ID_LIBEDIT_ADD_LIBRARY, wxEmptyString, - KiScaledBitmap( open_library_xpm, this ), - _( "Add an existing library" ) ); - m_mainToolBar->AddTool( ID_LIBEDIT_NEW_PART, wxEmptyString, KiScaledBitmap( new_component_xpm, this ), _( "Create new symbol" ) ); - m_mainToolBar->AddTool( ID_LIBEDIT_SAVE_ALL_LIBS, wxEmptyString, + m_mainToolBar->AddTool( ID_LIBEDIT_SAVE_ALL, wxEmptyString, KiScaledBitmap( save_xpm, this ), - _( "Save libraries" ) ); + _( "Save all changes" ) ); KiScaledSeparator( m_mainToolBar, this ); @@ -163,7 +155,11 @@ void LIB_EDIT_FRAME::ReCreateHToolbar() m_mainToolBar->AddTool( ID_LIBEDIT_GET_FRAME_EDIT_FIELDS, wxEmptyString, KiScaledBitmap( field_properties_xpm, this ), - _( "Edit field properties" ) ); + _( "Edit symbol fields" ) ); + + m_mainToolBar->AddTool( ID_LIBEDIT_EDIT_PIN_BY_TABLE, wxEmptyString, + KiScaledBitmap( pin_table_xpm, this ), + _( "Show pin table" ) ); KiScaledSeparator( m_mainToolBar, this ); @@ -171,10 +167,6 @@ void LIB_EDIT_FRAME::ReCreateHToolbar() KiScaledBitmap( datasheet_xpm, this ), _( "Show associated datasheet or document" ) ); - m_mainToolBar->AddTool( ID_LIBEDIT_EDIT_PIN_BY_TABLE, wxEmptyString, - KiScaledBitmap( pin_table_xpm, this ), - _( "Show pin table" ) ); - m_mainToolBar->AddTool( ID_LIBEDIT_CHECK_PART, wxEmptyString, KiScaledBitmap( erc_xpm, this ), _( "Check duplicate and off grid pins" ) ); diff --git a/eeschema/widgets/cmp_tree_pane.cpp b/eeschema/widgets/cmp_tree_pane.cpp index 49f602368a..87c5e51701 100644 --- a/eeschema/widgets/cmp_tree_pane.cpp +++ b/eeschema/widgets/cmp_tree_pane.cpp @@ -53,11 +53,11 @@ CMP_TREE_PANE::CMP_TREE_PANE( LIB_EDIT_FRAME* aParent, LIB_MANAGER* aLibMgr ) KiBitmap( new_library_xpm ) ); AddMenuItem( menuLibrary.get(), ID_LIBEDIT_ADD_LIBRARY, _( "&Add Library..." ), KiBitmap( add_library_xpm ) ); - AddMenuItem( menuLibrary.get(), ID_LIBEDIT_SAVE_LIBRARY, _( "&Save Library" ), - KiBitmap( save_library_xpm ) ); - AddMenuItem( menuLibrary.get(), ID_LIBEDIT_SAVE_LIBRARY_AS, _( "Save Library As..." ), - KiBitmap( save_library_xpm ) ); - AddMenuItem( menuLibrary.get(), ID_LIBEDIT_REVERT_LIBRARY, _( "Revert Library" ), + AddMenuItem( menuLibrary.get(), ID_LIBEDIT_SAVE, _( "&Save" ), + KiBitmap( save_xpm ) ); + AddMenuItem( menuLibrary.get(), ID_LIBEDIT_SAVE_AS, _( "Save As..." ), + KiBitmap( save_as_xpm ) ); + AddMenuItem( menuLibrary.get(), ID_LIBEDIT_REVERT, _( "Revert" ), KiBitmap( undo_xpm ) ); menuLibrary->AppendSeparator(); @@ -71,15 +71,15 @@ CMP_TREE_PANE::CMP_TREE_PANE( LIB_EDIT_FRAME* aParent, LIB_MANAGER* aLibMgr ) KiBitmap( edit_xpm ) ); menuPart->AppendSeparator(); - AddMenuItem( menuPart.get(), ID_LIBEDIT_SAVE_PART, _( "&Save Symbol" ), - KiBitmap( save_part_xpm ) ); - AddMenuItem( menuPart.get(), ID_LIBEDIT_SAVE_PART_AS, _( "Save Symbol As..." ), - KiBitmap( save_part_xpm ) ); - AddMenuItem( menuPart.get(), ID_LIBEDIT_DUPLICATE_PART, _( "Duplicate Symbol" ), + AddMenuItem( menuPart.get(), ID_LIBEDIT_SAVE, _( "&Save" ), + KiBitmap( save_xpm ) ); + AddMenuItem( menuPart.get(), ID_LIBEDIT_SAVE_AS, _( "Save As..." ), + KiBitmap( save_xpm ) ); + AddMenuItem( menuPart.get(), ID_LIBEDIT_DUPLICATE_PART, _( "Duplicate" ), KiBitmap( duplicate_xpm ) ); - AddMenuItem( menuPart.get(), ID_LIBEDIT_REMOVE_PART, _( "Delete Symbol" ), + AddMenuItem( menuPart.get(), ID_LIBEDIT_REMOVE_PART, _( "Delete" ), KiBitmap( delete_xpm ) ); - AddMenuItem( menuPart.get(), ID_LIBEDIT_REVERT_PART, _( "Revert Symbol" ), + AddMenuItem( menuPart.get(), ID_LIBEDIT_REVERT, _( "Revert" ), KiBitmap( undo_xpm ) ); menuPart->AppendSeparator(); diff --git a/include/bitmaps.h b/include/bitmaps.h index 657855bc93..3b703a8d2f 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -106,9 +106,7 @@ EXTERN_BITMAP( component_select_alternate_shape_xpm ) EXTERN_BITMAP( component_select_unit_xpm ) EXTERN_BITMAP( config_xpm ) EXTERN_BITMAP( copper_layers_setup_xpm ) -EXTERN_BITMAP( copycomponent_xpm ) EXTERN_BITMAP( copy_xpm ) -EXTERN_BITMAP( copy_library_xpm ) EXTERN_BITMAP( copy_pad_settings_xpm ) EXTERN_BITMAP( create_cmp_file_xpm ) EXTERN_BITMAP( cursor_shape_xpm ) @@ -152,7 +150,6 @@ EXTERN_BITMAP( drc_xpm ) EXTERN_BITMAP( duplicate_xpm ) EXTERN_BITMAP( edges_sketch_xpm ) EXTERN_BITMAP( edit_comp_footprint_xpm ) -EXTERN_BITMAP( edit_component_xpm ) EXTERN_BITMAP( edit_comp_ref_xpm ) EXTERN_BITMAP( edit_comp_value_xpm ) EXTERN_BITMAP( edit_module_xpm ) @@ -231,7 +228,6 @@ EXTERN_BITMAP( icon_pcbcalculator_xpm ) EXTERN_BITMAP( icon_pagelayout_editor_xpm ) EXTERN_BITMAP( image_xpm ) EXTERN_BITMAP( import_brd_file_xpm ) -EXTERN_BITMAP( import_cmp_from_lib_xpm ) EXTERN_BITMAP( import_document_xpm ) EXTERN_BITMAP( import_footprint_names_xpm ) EXTERN_BITMAP( import_hierarchical_label_xpm ) @@ -472,8 +468,6 @@ EXTERN_BITMAP( rotate_pos_z_xpm ) EXTERN_BITMAP( save_as_xpm ) EXTERN_BITMAP( save_gerber_xpm ) EXTERN_BITMAP( save_library_xpm ) -EXTERN_BITMAP( save_part_xpm ) -EXTERN_BITMAP( save_part_in_mem_xpm ) EXTERN_BITMAP( save_project_xpm ) EXTERN_BITMAP( save_setup_xpm ) EXTERN_BITMAP( save_xpm ) diff --git a/pcbnew/footprint_edit_frame.h b/pcbnew/footprint_edit_frame.h index 4d5e5f9890..5523bd63a6 100644 --- a/pcbnew/footprint_edit_frame.h +++ b/pcbnew/footprint_edit_frame.h @@ -302,15 +302,6 @@ public: */ MODULE* Import_Module( const wxString& aName = wxT("") ); - - /** - * Function SaveCurrentModule - * saves the module which is currently being edited into aLibPath or into the - * currently selected library if aLibPath is NULL. - * @return bool - true if successfully saved, else false because abort or error. - */ - bool SaveCurrentModule( const wxString* aLibPath = NULL ); - /** * Function Load_Module_From_BOARD * load in Modedit a footprint from the main board diff --git a/pcbnew/footprint_editor_utils.cpp b/pcbnew/footprint_editor_utils.cpp index 1ef346c2d3..f4f436d5ba 100644 --- a/pcbnew/footprint_editor_utils.cpp +++ b/pcbnew/footprint_editor_utils.cpp @@ -279,7 +279,8 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event ) break; case ID_MODEDIT_DELETE_PART: - DeleteModuleFromLibrary(); + if( DeleteModuleFromLibrary() ) + Clear_Pcb( false ); break; case ID_MODEDIT_NEW_MODULE: diff --git a/pcbnew/footprint_libraries_utils.cpp b/pcbnew/footprint_libraries_utils.cpp index 4ee60cbbd4..1971c057ee 100644 --- a/pcbnew/footprint_libraries_utils.cpp +++ b/pcbnew/footprint_libraries_utils.cpp @@ -410,32 +410,6 @@ void FOOTPRINT_EDIT_FRAME::Export_Module( MODULE* aModule ) DisplayInfoMessage( this, msg ); } -bool FOOTPRINT_EDIT_FRAME::SaveCurrentModule( const wxString* aLibPath ) -{ - wxString libPath = aLibPath ? *aLibPath : getLibPath(); - - IO_MGR::PCB_FILE_T piType = IO_MGR::GuessPluginTypeFromLibPath( libPath ); - - // Legacy libraries are readable, but writing legacy format is not allowed - if( piType == IO_MGR::LEGACY ) - { - DisplayInfoMessage( this, INFO_LEGACY_LIB_WARN_EDIT ); - return false; - } - - try - { - PLUGIN::RELEASER pi( IO_MGR::PluginFind( piType ) ); - - pi->FootprintSave( libPath, GetBoard()->m_Modules ); - } - catch( const IO_ERROR& ioe ) - { - DisplayError( this, ioe.What() ); - return false; - } - return true; -} wxString PCB_BASE_EDIT_FRAME::CreateNewLibrary(const wxString& aLibName ) { @@ -535,11 +509,12 @@ wxString PCB_BASE_EDIT_FRAME::CreateNewLibrary(const wxString& aLibName ) bool FOOTPRINT_EDIT_FRAME::DeleteModuleFromLibrary() { - LIB_ID fpid; - wxString fpid_txt = PCB_BASE_FRAME::SelectFootprint( this, wxEmptyString, wxEmptyString, - wxEmptyString, Prj().PcbFootprintLibs() ); + MODULE* module = GetBoard()->m_Modules; - fpid.Parse( fpid_txt, LIB_ID::ID_PCB ); + if( !module ) + return false; + + LIB_ID fpid = module->GetFPID(); if( !fpid.IsValid() ) return false; diff --git a/pcbnew/menubar_footprint_editor.cpp b/pcbnew/menubar_footprint_editor.cpp index 4ffe41e4db..f6ac6d25b7 100644 --- a/pcbnew/menubar_footprint_editor.cpp +++ b/pcbnew/menubar_footprint_editor.cpp @@ -54,15 +54,20 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() wxMenu* fileMenu = new wxMenu; // New module - text = AddHotkeyName( _( "&New Footprint..." ), m_hotkeysDescrList, HK_NEW ); + text = AddHotkeyName( _( "&New..." ), m_hotkeysDescrList, HK_NEW ); AddMenuItem( fileMenu, ID_MODEDIT_NEW_MODULE, text, _( "Create a new footprint" ), KiBitmap( new_footprint_xpm ) ); - text = AddHotkeyName( _( "&Open Footprint..." ), m_hotkeysDescrList, HK_OPEN ); + AddMenuItem( fileMenu, ID_MODEDIT_NEW_MODULE_FROM_WIZARD, + _( "&Create..." ), + _( "Create a new footprint using the footprint wizard" ), + KiBitmap( module_wizard_xpm ) ); + + text = AddHotkeyName( _( "&Open..." ), m_hotkeysDescrList, HK_OPEN ); AddMenuItem( fileMenu, ID_MODEDIT_LOAD_MODULE, text, _( "Open a footprint from a library" ), - KiBitmap( module_xpm ) ); + KiBitmap( load_module_lib_xpm ) ); fileMenu->AppendSeparator(); @@ -73,36 +78,22 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() KiBitmap( save_xpm ) ); AddMenuItem( fileMenu, ID_MODEDIT_SAVE_LIBMODULE_AS, - _( "Save Footprint &As..." ), + _( "Save &As..." ), _( "Save footprint to a new name and/or new library" ), - KiBitmap( save_library_xpm ) ); + KiBitmap( save_as_xpm ) ); fileMenu->AppendSeparator(); - - wxMenu* importSubMenu = new wxMenu(); - - // from current Board - AddMenuItem( importSubMenu, ID_MODEDIT_LOAD_MODULE_FROM_BOARD, - _( "Footprint from &Current Board..." ), - _( "Import a footprint from the current board" ), - KiBitmap( load_module_board_xpm ) ); - - AddMenuItem( importSubMenu, ID_MODEDIT_IMPORT_PART, - _( "Footprint from &KiCad File..." ), + AddMenuItem( fileMenu, ID_MODEDIT_IMPORT_PART, + _( "Import Footprint from &KiCad File..." ), _( "Import a footprint from an existing footprint file" ), KiBitmap( import_module_xpm ) ); - AddMenuItem( importSubMenu, ID_GEN_IMPORT_DXF_FILE, - _( "Footprint Outlines from &DXF File..." ), + AddMenuItem( fileMenu, ID_GEN_IMPORT_DXF_FILE, + _( "Import Outlines from &DXF File..." ), _( "Import 2D Drawing DXF file to Footprint Editor on Drawings layer" ), KiBitmap( import_xpm ) ); - AddMenuItem( fileMenu, importSubMenu, -1, - _( "&Import" ), - _( "Import files" ), - KiBitmap( import_xpm ) ); - AddMenuItem( fileMenu, ID_MODEDIT_EXPORT_PART, _( "&Export Footprint..." ), _( "Export current footprint to a file" ), @@ -166,7 +157,14 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() AddMenuItem( editMenu, ID_MODEDIT_PAD_SETTINGS, _( "Default Pad Properties..." ), _( "Edit default pad properties" ), - KiBitmap( module_options_xpm ) ); + KiBitmap( options_pad_xpm ) ); + + editMenu->AppendSeparator(); + + AddMenuItem( editMenu, ID_MODEDIT_DELETE_PART, + _( "&Delete Footprint from Library" ), + _( "Delete the current footprint" ), + KiBitmap( delete_xpm ) ); //--------- View menu ---------------- wxMenu* viewMenu = new wxMenu; @@ -368,11 +366,6 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() //----- Inspect menu --------------------- wxMenu* inspectMenu = new wxMenu; - AddMenuItem( inspectMenu, ID_OPEN_MODULE_VIEWER, - _( "Footprint Viewer" ), - _( "Open the footprint viewer" ), - KiBitmap( modview_icon_xpm ) ); - text = AddHotkeyName( _( "&Measure" ), m_hotkeysDescrList, HK_MEASURE_TOOL ); AddMenuItem( inspectMenu, ID_MODEDIT_MEASUREMENT_TOOL, text, _( "Measure distance" ), @@ -381,6 +374,11 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() //----- Tools menu --------------------- wxMenu* toolsMenu = new wxMenu; + AddMenuItem( toolsMenu, ID_MODEDIT_LOAD_MODULE_FROM_BOARD, + _( "&Load Footprint from PCB..." ), + _( "Load a footprint from the current board into the editor" ), + KiBitmap( load_module_board_xpm ) ); + AddMenuItem( toolsMenu, ID_MODEDIT_UPDATE_MODULE_IN_BOARD, _( "&Update Footprint on PCB" ), _( "Push updated footprint through to current board" ), @@ -391,23 +389,6 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() _( "Insert footprint onto current board" ), KiBitmap( insert_module_board_xpm ) ); - toolsMenu->AppendSeparator(); - - AddMenuItem( toolsMenu, ID_MODEDIT_CREATE_NEW_LIB, - _( "New Library..." ), - _( "Create a new library for storing footprints" ), - KiBitmap( library_xpm ) ); - - AddMenuItem( toolsMenu, ID_MODEDIT_SAVE_LIBRARY_AS, - _( "Save &Library As..." ), - _( "Save current library to a new name and/or location" ), - KiBitmap( save_library_xpm ) ); - - AddMenuItem( toolsMenu, ID_MODEDIT_DELETE_PART, - _( "&Delete Footprint from Library..." ), - _( "Choose and delete a footprint from a library" ), - KiBitmap( delete_xpm ) ); - //----- Preferences menu ----------------- wxMenu* prefs_menu = new wxMenu; diff --git a/pcbnew/tool_footprint_editor.cpp b/pcbnew/tool_footprint_editor.cpp index a610523167..a897774cde 100644 --- a/pcbnew/tool_footprint_editor.cpp +++ b/pcbnew/tool_footprint_editor.cpp @@ -46,7 +46,6 @@ void FOOTPRINT_EDIT_FRAME::ReCreateHToolbar() wxString msg; // Set up toolbar - KiScaledSeparator( m_mainToolBar, this ); m_mainToolBar->AddTool( ID_MODEDIT_NEW_MODULE, wxEmptyString, KiScaledBitmap( new_footprint_xpm, this ), _( "New footprint" ) ); diff --git a/pcbnew/tool_footprint_viewer.cpp b/pcbnew/tool_footprint_viewer.cpp index 4a2a5f47bb..7832c7c60f 100644 --- a/pcbnew/tool_footprint_viewer.cpp +++ b/pcbnew/tool_footprint_viewer.cpp @@ -50,11 +50,11 @@ void FOOTPRINT_VIEWER_FRAME::ReCreateHToolbar() // Set up toolbar m_mainToolBar->AddTool( ID_MODVIEW_SELECT_LIB, wxEmptyString, - KiScaledBitmap( library_xpm, this ), + KiScaledBitmap( open_library_xpm, this ), _( "Select library to browse" ) ); m_mainToolBar->AddTool( ID_MODVIEW_SELECT_PART, wxEmptyString, - KiScaledBitmap( module_xpm, this ), + KiScaledBitmap( load_module_lib_xpm, this ), _( "Select footprint to browse" ) ); KiScaledSeparator( m_mainToolBar, this );