From 025d55095566aa06fd2a57536fb028ea3fa90695 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 20 Jun 2012 11:57:36 +0200 Subject: [PATCH] Pcbnew: small cosmetic enhancement: add a bitmap for zone duplicate command. --- bitmaps_png/CMakeLists.txt | 1 + bitmaps_png/cpp_26/zone_duplicate.cpp | 106 +++++++++++++++++++++++++ bitmaps_png/sources/zone_duplicate.svg | 106 +++++++++++++++++++++++++ common/drawpanel.cpp | 2 +- include/bitmaps.h | 7 +- pcbnew/onrightclick.cpp | 7 +- 6 files changed, 222 insertions(+), 7 deletions(-) create mode 100644 bitmaps_png/cpp_26/zone_duplicate.cpp create mode 100644 bitmaps_png/sources/zone_duplicate.svg diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 549d4c59e7..b9bc5c3382 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -495,6 +495,7 @@ set( BMAPS_MID window_close zip_tool zip + zone_duplicate zone_unfill zoom zoom_area diff --git a/bitmaps_png/cpp_26/zone_duplicate.cpp b/bitmaps_png/cpp_26/zone_duplicate.cpp new file mode 100644 index 0000000000..de53cc2cf9 --- /dev/null +++ b/bitmaps_png/cpp_26/zone_duplicate.cpp @@ -0,0 +1,106 @@ + +/* 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, 0x05, 0x8a, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x95, 0x7b, 0x4c, 0x53, + 0x57, 0x18, 0xc0, 0xbf, 0x16, 0x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c, 0x54, 0xa0, 0x70, 0xbe, 0x00, 0x79, 0x25, 0x3c, + 0xf4, 0x9b, 0x27, 0x42, 0xd2, 0x8e, 0x70, 0x8c, 0x5d, 0x89, 0x95, 0x7a, 0x69, 0x2f, 0x29, 0x55, + 0x43, 0xc0, 0x1c, 0x7f, 0xad, 0x75, 0x26, 0x5c, 0xfd, 0x3d, 0x0c, 0x8e, 0x77, 0x4b, 0xa0, 0x86, + 0xb0, 0x66, 0x15, 0x13, 0xcc, 0xca, 0x4e, 0x90, 0xf5, 0xc6, 0x41, 0x45, 0x1e, 0xd6, 0x46, 0x8b, + 0x70, 0x6a, 0xb2, 0x0c, 0xb3, 0x53, 0x42, 0x70, 0x4e, 0x82, 0x14, 0xd7, 0x91, 0x76, 0xc4, 0x96, + 0x70, 0xb7, 0x91, 0x83, 0xeb, 0x68, 0x59, 0x0f, 0x09, 0x76, 0x8e, 0xb7, 0x84, 0x67, 0xdc, 0x68, + 0x83, 0x45, 0x8f, 0x44, 0x35, 0xbd, 0x12, 0x28, 0x21, 0xf3, 0x92, 0x08, 0x87, 0xa1, 0x76, 0xc8, + 0xa2, 0x17, 0x51, 0x6d, 0xe0, 0xe0, 0x0a, 0x93, 0x82, 0x95, 0x1d, 0x22, 0x77, 0x90, 0xdb, 0x2d, + 0x85, 0x09, 0x1e, 0x59, 0x97, 0x14, 0x66, 0x91, 0x39, 0x3f, 0xa0, 0xd3, 0xe9, 0x0e, 0x36, 0xf0, + 0x40, 0x42, 0x0a, 0x82, 0xb1, 0xcc, 0x12, 0x88, 0xdf, 0x6a, 0x87, 0x0d, 0x99, 0x5a, 0x8a, 0x8f, + 0x0b, 0x22, 0x94, 0x0f, 0x88, 0xac, 0x9a, 0x6d, 0x65, 0x3d, 0x12, 0x98, 0xed, 0x91, 0x11, 0x71, + 0x2e, 0x98, 0x5c, 0x4c, 0x91, 0x31, 0xcd, 0xb8, 0x74, 0x20, 0xa6, 0x54, 0xe3, 0xce, 0x0f, 0x69, + 0xf9, 0xb5, 0x3a, 0x31, 0xbf, 0xee, 0x65, 0x99, 0x1b, 0xa5, 0xba, 0x62, 0xb5, 0x31, 0x6b, 0x49, + 0xc3, 0xe3, 0x90, 0xd2, 0x95, 0xba, 0xb3, 0x92, 0xc0, 0x66, 0x78, 0xd6, 0x6f, 0x97, 0xa4, 0x3a, + 0xd5, 0xd3, 0xbd, 0x5f, 0x96, 0xfb, 0x84, 0xc2, 0x11, 0xea, 0xf3, 0x71, 0x76, 0xa6, 0x98, 0xc8, + 0x86, 0x75, 0x4a, 0xe0, 0x23, 0x92, 0x5d, 0xd5, 0xff, 0x2e, 0x62, 0x21, 0xcd, 0xb7, 0x36, 0x27, + 0x9e, 0xba, 0x10, 0x63, 0x67, 0x26, 0xdc, 0x08, 0x02, 0x51, 0x77, 0x00, 0xbc, 0xf7, 0x4a, 0x44, + 0x2c, 0x6d, 0xa4, 0xdf, 0x65, 0x26, 0x6a, 0xeb, 0xa3, 0x1c, 0x06, 0x27, 0x2a, 0x41, 0xf0, 0xca, + 0x44, 0x2c, 0xd7, 0x7c, 0xbd, 0xf7, 0x3a, 0x93, 0x75, 0xf5, 0x24, 0x9e, 0xe5, 0x79, 0xa2, 0xf1, + 0x89, 0x36, 0xfa, 0x0a, 0x7b, 0xa3, 0xff, 0x2b, 0x6c, 0x1c, 0xd2, 0x68, 0x8f, 0xfe, 0x03, 0x4a, + 0x94, 0x41, 0xc0, 0x1e, 0x6f, 0x7c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, + 0x42, 0x60, 0x82, +}; + +const BITMAP_OPAQUE zone_duplicate_xpm[1] = {{ png, sizeof( png ), "zone_duplicate_xpm" }}; + +//EOF diff --git a/bitmaps_png/sources/zone_duplicate.svg b/bitmaps_png/sources/zone_duplicate.svg new file mode 100644 index 0000000000..dd4fbe5d36 --- /dev/null +++ b/bitmaps_png/sources/zone_duplicate.svg @@ -0,0 +1,106 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/common/drawpanel.cpp b/common/drawpanel.cpp index 85a8ed3cf4..938d72185c 100644 --- a/common/drawpanel.cpp +++ b/common/drawpanel.cpp @@ -83,7 +83,7 @@ END_EVENT_TABLE() EDA_DRAW_PANEL::EDA_DRAW_PANEL( EDA_DRAW_FRAME* parent, int id, const wxPoint& pos, const wxSize& size ) : - wxScrolledWindow( parent, id, pos, size, wxBORDER | wxHSCROLL | wxVSCROLL ) + wxScrolledWindow( parent, id, pos, size, wxBORDER | wxHSCROLL | wxVSCROLL | wxALWAYS_SHOW_SB ) { wxASSERT( parent ); diff --git a/include/bitmaps.h b/include/bitmaps.h index 66b4accd59..0f8dd57e9b 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -109,7 +109,7 @@ EXTERN_BITMAP( cursor_shape_xpm ) EXTERN_BITMAP( cursor_xpm ) EXTERN_BITMAP( cut_button_xpm ) EXTERN_BITMAP( cvpcb_xpm ) -EXTERN_BITMAP( dashedline_xpm ) +EXTERN_BITMAP( dashline_xpm ) EXTERN_BITMAP( datasheet_xpm ) EXTERN_BITMAP( delete_arc_xpm ) EXTERN_BITMAP( delete_association_xpm ) @@ -253,7 +253,7 @@ EXTERN_BITMAP( leave_sheet_xpm ) EXTERN_BITMAP( left_xpm ) EXTERN_BITMAP( libedit_icon_xpm ) EXTERN_BITMAP( libedit_xpm ) -EXTERN_BITMAP( libedit_part_xpm ) +EXTERN_BITMAP( libedprt_xpm ) EXTERN_BITMAP( lib_next_xpm ) EXTERN_BITMAP( lib_previous_xpm ) EXTERN_BITMAP( library_browse_xpm ) @@ -271,7 +271,7 @@ EXTERN_BITMAP( mirror_h_xpm ) EXTERN_BITMAP( mirror_v_xpm ) EXTERN_BITMAP( mode_module_xpm ) EXTERN_BITMAP( mode_track_xpm ) -EXTERN_BITMAP( mod_ratsnest_xpm ) +EXTERN_BITMAP( modratsnest_xpm ) EXTERN_BITMAP( module_check_xpm ) EXTERN_BITMAP( module_edit_xpm ) EXTERN_BITMAP( module_filtered_list_xpm ) @@ -469,6 +469,7 @@ EXTERN_BITMAP( width_vias_xpm ) EXTERN_BITMAP( window_close_xpm ) EXTERN_BITMAP( zip_tool_xpm ) EXTERN_BITMAP( zip_xpm ) +EXTERN_BITMAP( zone_duplicate_xpm ) EXTERN_BITMAP( zone_unfill_xpm ) EXTERN_BITMAP( zoom_area_xpm ) EXTERN_BITMAP( zoom_center_on_screen_xpm ) diff --git a/pcbnew/onrightclick.cpp b/pcbnew/onrightclick.cpp index 970e8493ac..51d8dc87ed 100644 --- a/pcbnew/onrightclick.cpp +++ b/pcbnew/onrightclick.cpp @@ -621,14 +621,15 @@ void PCB_EDIT_FRAME::createPopUpMenuForZones( ZONE_CONTAINER* edge_zone, wxMenu* } zones_menu->AppendSeparator(); - AddMenuItem( zones_menu, ID_POPUP_PCB_ZONE_DUPLICATE, - _( "Duplicate Zone" ), KiBitmap( add_zone_xpm ) ); - AddMenuItem( zones_menu, ID_POPUP_PCB_ZONE_ADD_SIMILAR_ZONE, _( "Add Similar Zone" ), KiBitmap( add_zone_xpm ) ); AddMenuItem( zones_menu, ID_POPUP_PCB_ZONE_ADD_CUTOUT_ZONE, _( "Add Cutout Area" ), KiBitmap( add_zone_cutout_xpm ) ); + + AddMenuItem( zones_menu, ID_POPUP_PCB_ZONE_DUPLICATE, + _( "Duplicate Zone" ), KiBitmap( zone_duplicate_xpm ) ); + zones_menu->AppendSeparator(); AddMenuItem( zones_menu, ID_POPUP_PCB_FILL_ZONE, _( "Fill Zone" ),