diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index ff947b6876..7275672cd8 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -246,6 +246,7 @@ set( BMAPS_MID file_pos file_svg fill_zone + filter find find_replace flag diff --git a/bitmaps_png/cpp_24/filter.cpp b/bitmaps_png/cpp_24/filter.cpp new file mode 100644 index 0000000000..ca610357fa --- /dev/null +++ b/bitmaps_png/cpp_24/filter.cpp @@ -0,0 +1,24 @@ + +/* 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, 0x00, 0x68, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0x20, 0x1d, 0x84, + 0xfc, 0x27, 0x1e, 0x42, 0x35, 0x7c, 0x26, 0x12, 0x92, 0xab, 0x21, 0xfc, 0xe7, 0x69, 0xa2, 0x94, + 0x9f, 0xfe, 0x1f, 0xfe, 0x13, 0xac, 0x21, 0xd4, 0x26, 0xfa, 0xf3, 0x29, 0x82, 0xca, 0xcf, 0xfe, + 0x8f, 0xfe, 0x12, 0xea, 0x04, 0xf5, 0x36, 0x61, 0x2d, 0x28, 0xca, 0x09, 0x6b, 0xc1, 0x50, 0x8e, + 0x5f, 0x0b, 0x56, 0xe5, 0xb8, 0xb5, 0xe0, 0x54, 0x8e, 0x5d, 0x0b, 0x5e, 0xe5, 0x98, 0x5a, 0x08, + 0x2a, 0x07, 0x47, 0xa3, 0x43, 0xc4, 0x6f, 0x98, 0x86, 0x88, 0xdf, 0x21, 0x0e, 0x44, 0xa5, 0x2d, + 0xb4, 0x98, 0x1d, 0xd5, 0x30, 0x54, 0x34, 0xa0, 0x65, 0x7a, 0xca, 0x00, 0x00, 0xa9, 0x7e, 0xc6, + 0x8e, 0xac, 0x4a, 0x47, 0xce, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, + 0x82, +}; + +const BITMAP_OPAQUE filter_xpm[1] = {{ png, sizeof( png ), "filter_xpm" }}; + +//EOF diff --git a/bitmaps_png/include/bitmaps_png/bitmaps_list.h b/bitmaps_png/include/bitmaps_png/bitmaps_list.h index c848ecf108..56569be859 100644 --- a/bitmaps_png/include/bitmaps_png/bitmaps_list.h +++ b/bitmaps_png/include/bitmaps_png/bitmaps_list.h @@ -171,6 +171,7 @@ EXTERN_BITMAP( file_pdf_xpm ) EXTERN_BITMAP( file_pos_xpm ) EXTERN_BITMAP( file_svg_xpm ) EXTERN_BITMAP( fill_zone_xpm ) +EXTERN_BITMAP( filter_xpm ) EXTERN_BITMAP( find_xpm ) EXTERN_BITMAP( find_replace_xpm ) EXTERN_BITMAP( flag_xpm ) diff --git a/bitmaps_png/sources/filter.svg b/bitmaps_png/sources/filter.svg new file mode 100644 index 0000000000..959b569718 --- /dev/null +++ b/bitmaps_png/sources/filter.svg @@ -0,0 +1,87 @@ + + + + + + + + + + image/svg+xml + + drc + + + + + + + + + + + + + + + drc + + diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index 3706da5ff6..72a7a76941 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -167,8 +167,7 @@ TOOL_ACTION ACTIONS::paste( "common.Interactive.paste", TOOL_ACTION ACTIONS::selectAll( "common.Interactive.selectAll", AS_GLOBAL, MD_CTRL + 'A', "", - _( "Select All" ), _( "Select all items on screen" ), - plus_xpm ); + _( "Select All" ), _( "Select all items on screen" ) ); TOOL_ACTION ACTIONS::pasteSpecial( "common.Interactive.pasteSpecial", AS_GLOBAL, 0, "", diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index d067d51abc..60606b7257 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -1197,7 +1197,7 @@ TOOL_ACTION PCB_ACTIONS::selectSameSheet( "pcbnew.InteractiveSelection.SelectSam TOOL_ACTION PCB_ACTIONS::filterSelection( "pcbnew.InteractiveSelection.FilterSelection", AS_GLOBAL, 0, "", _( "Filter Selection..." ), _( "Filter the types of items in the selection" ), - options_generic_xpm ); + filter_xpm ); // ZONE_FILLER_TOOL diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index 46afda8d6e..a0ae6a0f87 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -65,7 +65,6 @@ public: ACTION_MENU( true ) { SetTitle( _( "Select" ) ); - SetIcon( options_generic_xpm ); Add( PCB_ACTIONS::filterSelection );