From ad70b5004626887350a9e164b75f9c7f33b42575 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 26 Nov 2023 15:18:37 +0100 Subject: [PATCH] Add missing icons. Fixes #16163 https://gitlab.com/kicad/code/kicad/-/issues/16163 --- common/bitmap_info.cpp | 2 ++ resources/bitmaps_png/CMakeLists.txt | 1 + resources/bitmaps_png/png/icon_kicad_24_24.png | Bin 0 -> 1244 bytes .../bitmaps_png/png/icon_kicad_24_dark_24.png | Bin 0 -> 1244 bytes 4 files changed, 3 insertions(+) create mode 100644 resources/bitmaps_png/png/icon_kicad_24_24.png create mode 100644 resources/bitmaps_png/png/icon_kicad_24_dark_24.png diff --git a/common/bitmap_info.cpp b/common/bitmap_info.cpp index 29adfd7b19..75d7615684 100644 --- a/common/bitmap_info.cpp +++ b/common/bitmap_info.cpp @@ -4294,6 +4294,7 @@ void BuildBitmapInfo( std::unordered_map>& aBi aBitmapInfoCache[BITMAPS::icon_bitmap2component_24].emplace_back( BITMAPS::icon_bitmap2component_24, wxT( "icon_bitmap2component_24_24.png" ), 24, wxT( "light" ) ); aBitmapInfoCache[BITMAPS::icon_eeschema_24].emplace_back( BITMAPS::icon_eeschema_24, wxT( "icon_eeschema_24_24.png" ), 24, wxT( "light" ) ); aBitmapInfoCache[BITMAPS::icon_gerbview_24].emplace_back( BITMAPS::icon_gerbview_24, wxT( "icon_gerbview_24_24.png" ), 24, wxT( "light" ) ); + aBitmapInfoCache[BITMAPS::icon_kicad_24].emplace_back( BITMAPS::icon_kicad_24, wxT( "icon_kicad_24_24.png" ), 24, wxT( "light" ) ); aBitmapInfoCache[BITMAPS::icon_libedit_24].emplace_back( BITMAPS::icon_libedit_24, wxT( "icon_libedit_24_24.png" ), 24, wxT( "light" ) ); aBitmapInfoCache[BITMAPS::icon_modedit_24].emplace_back( BITMAPS::icon_modedit_24, wxT( "icon_modedit_24_24.png" ), 24, wxT( "light" ) ); aBitmapInfoCache[BITMAPS::icon_pagelayout_editor_24].emplace_back( BITMAPS::icon_pagelayout_editor_24, wxT( "icon_pagelayout_editor_24_24.png" ), 24, wxT( "light" ) ); @@ -4302,6 +4303,7 @@ void BuildBitmapInfo( std::unordered_map>& aBi aBitmapInfoCache[BITMAPS::icon_bitmap2component_24].emplace_back( BITMAPS::icon_bitmap2component_24, wxT( "icon_bitmap2component_24_dark_24.png" ), 24, wxT( "dark" ) ); aBitmapInfoCache[BITMAPS::icon_eeschema_24].emplace_back( BITMAPS::icon_eeschema_24, wxT( "icon_eeschema_24_dark_24.png" ), 24, wxT( "dark" ) ); aBitmapInfoCache[BITMAPS::icon_gerbview_24].emplace_back( BITMAPS::icon_gerbview_24, wxT( "icon_gerbview_24_dark_24.png" ), 24, wxT( "dark" ) ); + aBitmapInfoCache[BITMAPS::icon_kicad_24].emplace_back( BITMAPS::icon_kicad_24, wxT( "icon_kicad_24_dark_24.png" ), 24, wxT( "dark" ) ); aBitmapInfoCache[BITMAPS::icon_libedit_24].emplace_back( BITMAPS::icon_libedit_24, wxT( "icon_libedit_24_dark_24.png" ), 24, wxT( "dark" ) ); aBitmapInfoCache[BITMAPS::icon_modedit_24].emplace_back( BITMAPS::icon_modedit_24, wxT( "icon_modedit_24_dark_24.png" ), 24, wxT( "dark" ) ); aBitmapInfoCache[BITMAPS::icon_pagelayout_editor_24].emplace_back( BITMAPS::icon_pagelayout_editor_24, wxT( "icon_pagelayout_editor_24_dark_24.png" ), 24, wxT( "dark" ) ); diff --git a/resources/bitmaps_png/CMakeLists.txt b/resources/bitmaps_png/CMakeLists.txt index 494ab96bde..104937d769 100644 --- a/resources/bitmaps_png/CMakeLists.txt +++ b/resources/bitmaps_png/CMakeLists.txt @@ -556,6 +556,7 @@ set( BMAPS_24 icon_bitmap2component_24 icon_eeschema_24 icon_gerbview_24 + icon_kicad_24 icon_libedit_24 icon_modedit_24 icon_pagelayout_editor_24 diff --git a/resources/bitmaps_png/png/icon_kicad_24_24.png b/resources/bitmaps_png/png/icon_kicad_24_24.png new file mode 100644 index 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