From d0daa2cab708bf583a8bce7737920117be925e49 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 16 Jun 2015 20:04:02 +0200 Subject: [PATCH] Add color selector in 3D viewer for silkscreen, solder mask and copper. Remove unused or duplicate icons. --- 3d-viewer/3d_frame.cpp | 155 ++- 3d-viewer/3d_toolbar.cpp | 9 + 3d-viewer/3d_viewer.h | 33 +- 3d-viewer/3d_viewer_id.h | 3 + 3d-viewer/info3d_visu.cpp | 20 - bitmaps_png/CMakeLists.txt | 6 +- bitmaps_png/cpp_26/new.cpp | 61 -- bitmaps_png/cpp_26/new_txt.cpp | 89 -- bitmaps_png/sources/new.svg | 1053 ------------------- bitmaps_png/sources/new_txt.svg | 1237 ----------------------- bitmaps_png/sources/new_txt2.svg | 92 -- common/dialogs/wx_html_report_panel.cpp | 2 +- eeschema/menubar.cpp | 2 +- eeschema/tool_sch.cpp | 2 +- include/bitmaps.h | 6 +- 15 files changed, 205 insertions(+), 2565 deletions(-) delete mode 100644 bitmaps_png/cpp_26/new.cpp delete mode 100644 bitmaps_png/cpp_26/new_txt.cpp delete mode 100644 bitmaps_png/sources/new.svg delete mode 100644 bitmaps_png/sources/new_txt.svg delete mode 100644 bitmaps_png/sources/new_txt2.svg diff --git a/3d-viewer/3d_frame.cpp b/3d-viewer/3d_frame.cpp index d1f07c7211..7a243b34b4 100644 --- a/3d-viewer/3d_frame.cpp +++ b/3d-viewer/3d_frame.cpp @@ -46,9 +46,21 @@ static const wxChar keyBgColor_Red[] = wxT( "BgColor_Red" ); static const wxChar keyBgColor_Green[] = wxT( "BgColor_Green" ); static const wxChar keyBgColor_Blue[] = wxT( "BgColor_Blue" ); -static const wxChar keyBgColor_Red_Top[] = wxT( "BgColor_Red_Top" ); -static const wxChar keyBgColor_Green_Top[] = wxT( "BgColor_Green_Top" ); -static const wxChar keyBgColor_Blue_Top[] = wxT( "BgColor_Blue_Top" ); +static const wxChar keyBgColor_Red_Top[] = wxT( "BgColor_Red_Top" ); +static const wxChar keyBgColor_Green_Top[] = wxT( "BgColor_Green_Top" ); +static const wxChar keyBgColor_Blue_Top[] = wxT( "BgColor_Blue_Top" ); + +static const wxChar keySMaskColor_Red[] = wxT( "SMaskColor_Red" ); +static const wxChar keySMaskColor_Green[] = wxT( "SMaskColor_Green" ); +static const wxChar keySMaskColor_Blue[] = wxT( "SMaskColor_Blue" ); + +static const wxChar keySilkColor_Red[] = wxT( "SilkColor_Red" ); +static const wxChar keySilkColor_Green[] = wxT( "SilkColor_Green" ); +static const wxChar keySilkColor_Blue[] = wxT( "SilkColor_Blue" ); + +static const wxChar keyCopperColor_Red[] = wxT( "CopperColor_Red" ); +static const wxChar keyCopperColor_Green[] = wxT( "CopperColor_Green" ); +static const wxChar keyCopperColor_Blue[] = wxT( "CopperColor_Blue" ); static const wxChar keyShowRealisticMode[] = wxT( "ShowRealisticMode" ); static const wxChar keyRenderShadows[] = wxT( "Render_Shadows" ); @@ -236,6 +248,18 @@ void EDA_3D_FRAME::LoadSettings( wxConfigBase* aCfg ) aCfg->Read( keyBgColor_Green_Top, &GetPrm3DVisu().m_BgColor_Top.m_Green, 0.8 ); aCfg->Read( keyBgColor_Blue_Top, &GetPrm3DVisu().m_BgColor_Top.m_Blue, 0.9 ); + aCfg->Read( keySMaskColor_Red, &GetPrm3DVisu().m_SolderMaskColor.m_Red, 100.0*(0.2/255.0) ); + aCfg->Read( keySMaskColor_Green, &GetPrm3DVisu().m_SolderMaskColor.m_Green, 255.0*(0.2/255.0) ); + aCfg->Read( keySMaskColor_Blue, &GetPrm3DVisu().m_SolderMaskColor.m_Blue, 180.0*(0.2/255.0) ); + + aCfg->Read( keySilkColor_Red, &GetPrm3DVisu().m_SilkScreenColor.m_Red, 0.9 ); + aCfg->Read( keySilkColor_Green, &GetPrm3DVisu().m_SilkScreenColor.m_Green, 0.9 ); + aCfg->Read( keySilkColor_Blue, &GetPrm3DVisu().m_SilkScreenColor.m_Blue, 0.9 ); + + aCfg->Read( keyCopperColor_Red, &GetPrm3DVisu().m_CopperColor.m_Red, 255.0*(0.7/255.0) ); + aCfg->Read( keyCopperColor_Green, &GetPrm3DVisu().m_CopperColor.m_Green, 223.0*(0.7/255.0) ); + aCfg->Read( keyCopperColor_Blue, &GetPrm3DVisu().m_CopperColor.m_Blue, 0.0*(0.7/255.0) ); + bool tmp; aCfg->Read( keyShowRealisticMode, &tmp, false ); prms.SetFlag( FL_USE_REALISTIC_MODE, tmp ); @@ -315,6 +339,18 @@ void EDA_3D_FRAME::SaveSettings( wxConfigBase* aCfg ) aCfg->Write( keyBgColor_Green_Top, GetPrm3DVisu().m_BgColor_Top.m_Green ); aCfg->Write( keyBgColor_Blue_Top, GetPrm3DVisu().m_BgColor_Top.m_Blue ); + aCfg->Write( keySMaskColor_Red, GetPrm3DVisu().m_SolderMaskColor.m_Red ); + aCfg->Write( keySMaskColor_Green, GetPrm3DVisu().m_SolderMaskColor.m_Green ); + aCfg->Write( keySMaskColor_Blue, GetPrm3DVisu().m_SolderMaskColor.m_Blue ); + + aCfg->Write( keySilkColor_Red, GetPrm3DVisu().m_SilkScreenColor.m_Red ); + aCfg->Write( keySilkColor_Green, GetPrm3DVisu().m_SilkScreenColor.m_Green ); + aCfg->Write( keySilkColor_Blue, GetPrm3DVisu().m_SilkScreenColor.m_Blue ); + + aCfg->Write( keyCopperColor_Red, GetPrm3DVisu().m_CopperColor.m_Red ); + aCfg->Write( keyCopperColor_Green, GetPrm3DVisu().m_CopperColor.m_Green ); + aCfg->Write( keyCopperColor_Blue, GetPrm3DVisu().m_CopperColor.m_Blue ); + aCfg->Write( keyShowRealisticMode, prms.GetFlag( FL_USE_REALISTIC_MODE ) ); aCfg->Write( keyRenderShadows, prms.GetFlag( FL_RENDER_SHADOWS ) ); @@ -478,6 +514,18 @@ void EDA_3D_FRAME::Process_Special_Functions( wxCommandEvent& event ) Get3DColorFromUser( GetPrm3DVisu().m_BgColor_Top ); return; + case ID_MENU3D_SILKSCREEN_COLOR_SELECTION: + Set3DSilkScreenColorFromUser(); + return; + + case ID_MENU3D_SOLDERMASK_COLOR_SELECTION: + Set3DSoldermaskColorFromUser(); + return; + + case ID_MENU3D_COPPER_COLOR_SELECTION: + Set3DCopperColorFromUser(); + break;; + case ID_MENU3D_REALISTIC_MODE: GetPrm3DVisu().SetFlag( FL_USE_REALISTIC_MODE, isChecked ); NewDisplay(); @@ -683,6 +731,107 @@ bool EDA_3D_FRAME::Get3DColorFromUser( S3D_COLOR &color ) return true; } +/* called to set the silkscreen color. Sets up a number of default colors + */ +bool EDA_3D_FRAME::Set3DSilkScreenColorFromUser() +{ + S3D_COLOR& curr_3Dcolor = GetPrm3DVisu().m_SilkScreenColor; + wxColour oldcolor; + oldcolor.Set( KiROUND( curr_3Dcolor.m_Red * 255 ), + KiROUND( curr_3Dcolor.m_Green * 255 ), + KiROUND( curr_3Dcolor.m_Blue * 255 ) ); + + wxColourData colorData; + + colorData.SetCustomColour(0, wxColour(241, 241, 241)); // White + colorData.SetCustomColour(1, wxColour(180, 180, 180 )); // Gray + + wxColour newcolor = wxGetColourFromUser( this, oldcolor, wxEmptyString, &colorData); + + if( !newcolor.IsOk() ) // Cancel command + return false; + + if( newcolor != oldcolor ) + { + curr_3Dcolor.m_Red = (double) newcolor.Red() / 255.0; + curr_3Dcolor.m_Green = (double) newcolor.Green() / 255.0; + curr_3Dcolor.m_Blue = (double) newcolor.Blue() / 255.0; + NewDisplay(GL_ID_TECH_LAYERS); + } + + return true; +} + + +/* called to set the soldermask color. Sets up a number of default colors + */ +bool EDA_3D_FRAME::Set3DSoldermaskColorFromUser() +{ + S3D_COLOR& curr_3Dcolor = GetPrm3DVisu().m_SolderMaskColor; + wxColour oldcolor; + oldcolor.Set( KiROUND( curr_3Dcolor.m_Red * 255 ), + KiROUND( curr_3Dcolor.m_Green * 255 ), + KiROUND( curr_3Dcolor.m_Blue * 255 ) ); + + wxColourData colorData; + + colorData.SetCustomColour(0, wxColour(20, 51, 36 )); // Green + colorData.SetCustomColour(1, wxColour(43, 10, 65 )); // Purple + colorData.SetCustomColour(2, wxColour(117, 19, 21 )); // Red + colorData.SetCustomColour(3, wxColour(54, 79, 116)); // Light blue + colorData.SetCustomColour(4, wxColour(11, 11, 11 )); // Black + colorData.SetCustomColour(5, wxColour(241, 241,241)); // White + + wxColour newcolor = wxGetColourFromUser( this, oldcolor, wxEmptyString, &colorData); + + if( !newcolor.IsOk() ) // Cancel command + return false; + + if( newcolor != oldcolor ) + { + curr_3Dcolor.m_Red = (double) newcolor.Red() / 255.0; + curr_3Dcolor.m_Green = (double) newcolor.Green() / 255.0; + curr_3Dcolor.m_Blue = (double) newcolor.Blue() / 255.0; + NewDisplay(GL_ID_TECH_LAYERS); + } + + return true; +} + + +/* called to set the copper surface color. Sets up a number of default colors + */ +bool EDA_3D_FRAME::Set3DCopperColorFromUser() +{ + S3D_COLOR& curr_3Dcolor = GetPrm3DVisu().m_CopperColor; + wxColour oldcolor; + oldcolor.Set( KiROUND( curr_3Dcolor.m_Red * 255 ), + KiROUND( curr_3Dcolor.m_Green * 255 ), + KiROUND( curr_3Dcolor.m_Blue * 255 ) ); + + wxColourData colorData; + + colorData.SetCustomColour(0, wxColour(255, 223, 0 )); // Copper + colorData.SetCustomColour(1, wxColour(233, 221, 82 )); // Gold + colorData.SetCustomColour(2, wxColour(213, 213, 213)); // Silver + + wxColour newcolor = wxGetColourFromUser( this, oldcolor, wxEmptyString, &colorData); + + if( !newcolor.IsOk() ) // Cancel command + return false; + + if( newcolor != oldcolor ) + { + curr_3Dcolor.m_Red = (double) newcolor.Red() / 255.0; + curr_3Dcolor.m_Green = (double) newcolor.Green() / 255.0; + curr_3Dcolor.m_Blue = (double) newcolor.Blue() / 255.0; + NewDisplay(GL_ID_TECH_LAYERS); + } + + return true; +} + + BOARD* EDA_3D_FRAME::GetBoard() { return Parent()->GetBoard(); diff --git a/3d-viewer/3d_toolbar.cpp b/3d-viewer/3d_toolbar.cpp index 9200ca0ea2..138962f6a3 100644 --- a/3d-viewer/3d_toolbar.cpp +++ b/3d-viewer/3d_toolbar.cpp @@ -198,6 +198,15 @@ void EDA_3D_FRAME::CreateMenuBar() AddMenuItem( backgrounColorMenu, ID_MENU3D_BGCOLOR_SELECTION, _( "Background Bottom Color" ), KiBitmap( palette_xpm ) ); + AddMenuItem( backgrounColorMenu, ID_MENU3D_SILKSCREEN_COLOR_SELECTION, + _( "Silkscreen Color" ), KiBitmap( palette_xpm ) ); + + AddMenuItem( backgrounColorMenu, ID_MENU3D_SOLDERMASK_COLOR_SELECTION, + _( "Solder Mask Color" ), KiBitmap( palette_xpm ) ); + + AddMenuItem( backgrounColorMenu, ID_MENU3D_COPPER_COLOR_SELECTION, + _( "Copper/Surface Finish Color" ), KiBitmap( palette_xpm ) ); + AddMenuItem( prefsMenu, ID_MENU3D_AXIS_ONOFF, _( "Show 3D &Axis" ), KiBitmap( axis3d_front_xpm ), wxITEM_CHECK ); diff --git a/3d-viewer/3d_viewer.h b/3d-viewer/3d_viewer.h index bf19745a01..f0722fc974 100644 --- a/3d-viewer/3d_viewer.h +++ b/3d-viewer/3d_viewer.h @@ -145,11 +145,38 @@ private: double BestZoom(); void RedrawActiveWindow( wxDC* DC, bool EraseBg ); - // Get a S3D_COLOR from a wx colour dialog - // return true if a new color is chosen, false if - // no change or aborted by user + /** + * Function Get3DColorFromUser + * Get a S3D_COLOR from a wx colour dialog + * @return true if a new color is chosen, false if + * no change or aborted by user + */ bool Get3DColorFromUser( S3D_COLOR &color ); + /** + * Function Set3DSoldermaskColorFromUser + * Set the solder mask color from a set of colors + * @return true if a new color is chosen, false if + * no change or aborted by user + */ + bool Set3DSoldermaskColorFromUser(); + + /** + * Function Set3DCopperColorFromUser + * Set the copper color from a set of colors + * @return true if a new color is chosen, false if + * no change or aborted by user + */ + bool Set3DCopperColorFromUser(); + + /** + * Function Set3DSilkScreenColorFromUser + * Set the silkscreen color from a set of colors + * @return true if a new color is chosen, false if + * no change or aborted by user + */ + bool Set3DSilkScreenColorFromUser(); + DECLARE_EVENT_TABLE() }; diff --git a/3d-viewer/3d_viewer_id.h b/3d-viewer/3d_viewer_id.h index 522675e601..75c4c3f0f0 100644 --- a/3d-viewer/3d_viewer_id.h +++ b/3d-viewer/3d_viewer_id.h @@ -33,6 +33,9 @@ enum id_3dview_frm ID_MENU3D_COLOR, ID_MENU3D_BGCOLOR_SELECTION, ID_MENU3D_BGCOLOR_TOP_SELECTION, + ID_MENU3D_SILKSCREEN_COLOR_SELECTION, + ID_MENU3D_SOLDERMASK_COLOR_SELECTION, + ID_MENU3D_COPPER_COLOR_SELECTION, ID_MENU3D_USE_COPPER_THICKNESS, ID_MENU3D_AXIS_ONOFF, ID_MENU3D_MODULE_ONOFF, diff --git a/3d-viewer/info3d_visu.cpp b/3d-viewer/info3d_visu.cpp index f140ced0c3..60e69d3276 100644 --- a/3d-viewer/info3d_visu.cpp +++ b/3d-viewer/info3d_visu.cpp @@ -68,26 +68,6 @@ INFO3D_VISU::INFO3D_VISU() m_BiuTo3Dunits = 1.0; zpos_offset = 0.0; - // Set copper color, in realistic mode - #define LUMINANCE 0.7/255.0 - m_CopperColor.m_Red = 255.0*LUMINANCE; - m_CopperColor.m_Green = 223.0*LUMINANCE; - m_CopperColor.m_Blue = 0.0*LUMINANCE; - - // Set the solder mask color, in realistic mode - #undef LUMINANCE - #define LUMINANCE 0.2/255.0 - m_SolderMaskColor.m_Red = 100.0*LUMINANCE; - m_SolderMaskColor.m_Green = 255.0*LUMINANCE; - m_SolderMaskColor.m_Blue = 180.0*LUMINANCE; - - // Set the silk screen mask color, in realistic mode - #undef LUMINANCE - #define LUMINANCE 0.9 - m_SilkScreenColor.m_Red = 1.0*LUMINANCE; - m_SilkScreenColor.m_Green = 1.0*LUMINANCE; - m_SilkScreenColor.m_Blue = 1.0*LUMINANCE; - // Set the body board (FR4) color, in realistic mode #undef LUMINANCE #define LUMINANCE 0.2/255.0 diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 28f2c943c2..644968646d 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -400,8 +400,6 @@ set( BMAPS_MID new_project new_project_with_template new_sch - new_txt - new noconn normal online_help @@ -508,6 +506,10 @@ set( BMAPS_MID select_w_layer shape_3d sheetset + setcolor_3d_bg + setcolor_silkscreen + setcolor_soldermask + setcolor_copper show_dcodenumber show_footprint show_mod_edge diff --git a/bitmaps_png/cpp_26/new.cpp b/bitmaps_png/cpp_26/new.cpp deleted file mode 100644 index 559ad2ef9c..0000000000 --- a/bitmaps_png/cpp_26/new.cpp +++ /dev/null @@ -1,61 +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, 0xbc, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0xb1, 0x6e, 0x1b, - 0x47, 0x10, 0x86, 0xbf, 0x99, 0x3b, 0x16, 0x76, 0xc3, 0xe8, 0x00, 0x35, 0x24, 0x61, 0x50, 0x4f, - 0xe2, 0x56, 0x2f, 0xa1, 0x57, 0x48, 0xa0, 0x52, 0x11, 0x54, 0x07, 0x10, 0x90, 0x56, 0xb0, 0xe1, - 0xca, 0xae, 0xf8, 0x00, 0x2e, 0xd9, 0xa4, 0x15, 0x60, 0x40, 0x10, 0xd2, 0xa4, 0x10, 0xa1, 0x44, - 0xe1, 0x11, 0x48, 0x63, 0x8b, 0x80, 0x62, 0x92, 0xb7, 0xb7, 0xeb, 0xc2, 0xdc, 0xe3, 0xde, 0xf2, - 0x8e, 0xb4, 0x81, 0x64, 0x81, 0xc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x45, 0x42, 0xb1, 0xb2, 0x2c, 0x49, 0x92, 0x84, 0xfb, 0xfb, 0xfb, 0xf9, - 0xd9, 0xd9, 0xd9, 0x8f, 0xd7, 0xd7, 0xd7, 0xef, 0x81, 0x4f, 0xce, 0xb9, 0x32, 0xfc, 0x2e, 0x05, - 0xac, 0x26, 0x09, 0x59, 0x96, 0xed, 0xec, 0x02, 0x71, 0x2f, 0x4b, 0xd3, 0x14, 0xe7, 0x1c, 0x69, - 0xa7, 0x63, 0x6e, 0x6f, 0x6f, 0x3f, 0x9c, 0x9c, 0x9c, 0xfc, 0x54, 0x14, 0xc5, 0xef, 0xc0, 0xbf, - 0xae, 0x21, 0xd9, 0xf2, 0x1f, 0xfc, 0x40, 0x16, 0xc0, 0x5f, 0xc0, 0x3f, 0x61, 0xa8, 0xe2, 0xf1, - 0x05, 0x95, 0x9b, 0x4e, 0x78, 0x5f, 0x66, 0xb8, 0x85, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, - 0x44, 0xae, 0x42, 0x60, 0x82, -}; - -const BITMAP_OPAQUE new_xpm[1] = {{ png, sizeof( png ), "new_xpm" }}; - -//EOF diff --git a/bitmaps_png/cpp_26/new_txt.cpp b/bitmaps_png/cpp_26/new_txt.cpp deleted file mode 100644 index a18ccbd1ff..0000000000 --- a/bitmaps_png/cpp_26/new_txt.cpp +++ /dev/null @@ -1,89 +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, 0x79, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x5d, 0x4c, 0x5b, - 0x65, 0x18, 0xc7, 0x6b, 0x94, 0x68, 0xe6, 0xa5, 0xd7, 0x46, 0xaf, 0xbc, 0xd4, 0xa9, 0xb1, 0x33, - 0x8c, 0x6c, 0x35, 0x63, 0x31, 0x8e, 0x18, 0x97, 0x45, 0x91, 0x44, 0x84, 0xc4, 0x0b, 0x63, 0x8c, - 0x17, 0x78, 0xb1, 0x2c, 0x71, 0x43, 0x67, 0x30, 0x06, 0x87, 0x3a, 0x22, 0x22, 0x31, 0xdd, 0xc0, - 0x8f, 0xa9, 0x2c, 0x02, 0x41, 0x5d, 0x8a, 0xce, 0x91, 0x99, 0x8c, 0x04, 0x2a, 0x1f, 0x66, 0x23, - 0x50, 0xd6, 0x16, 0x3b, 0x5a, 0xe8, 0x77, 0x7b, 0x5a, 0xfa, 0xfd, 0x41, 0xff, 0x3e, 0xcf, 0xdb, - 0xf3, 0x1e, 0x4e, 0xbb, 0xd6, 0x5d, 0x18, 0x4f, 0xf2, 0x4f, 0xe9, 0xe1, 0xf0, 0xfc, 0xde, 0xff, - 0xff, 0x79, 0xde, 0xf7, 0x60, 0x30, 0x18, 0x0c, 0x0f, 0x93, 0x9a, 0x48, 0xa6, 0xff, 0x49, 0x4d, - 0x2a, 0xc3, 0x70, 0x40, 0x51, 0x62, 0x08, 0x85, 0xc2, 0x08, 0x47, 0x22, 0x88, 0x44, 0xa3, 0x88, - 0x2a, 0x0a, 0x14, 0x56, 0x2c, 0x86, 0x18, 0x2b, 0x1e, 0x47, 0x7c, 0x7b, 0x5b, 0x68, 0x5b, 0x2a, - 0x91, 0x10, 0x4a, 0xb0, 0x92, 0xc9, 0xba, 0x4a, 0x67, 0x32, 0x60, 0x06, 0x83, 0x4c, 0xc1, 0x60, - 0x10, 0xb3, 0xb3, 0x73, 0xf0, 0xf9, 0x03, 0x08, 0x04, 0x43, 0x08, 0x85, 0xc3, 0x42, 0x1a, 0x58, - 0xc2, 0x09, 0xaa, 0xa8,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 0x43, 0x24, 0xe8, 0x40, 0x5e, 0xb7, 0xc1, 0xea, 0x0d, 0x41, 0x75, 0x74, 0xb2, 0x47, 0xfe, 0x40, - 0xa0, 0x30, 0x3a, 0x3a, 0x3a, 0xd7, 0xd0, 0xd0, 0xb0, 0x8f, 0x6a, 0xdd, 0xcf, 0xfd, 0xa8, 0x86, - 0x48, 0xd0, 0x7f, 0xfd, 0x07, 0x72, 0x3f, 0xe9, 0x41, 0x7d, 0x3f, 0x6a, 0xe9, 0x1f, 0x89, 0xbc, - 0x3d, 0xaa, 0x92, 0xe6, 0x6d, 0xd4, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, - 0x60, 0x82, -}; - -const BITMAP_OPAQUE new_txt_xpm[1] = {{ png, sizeof( png ), "new_txt_xpm" }}; - -//EOF diff --git a/bitmaps_png/sources/new.svg b/bitmaps_png/sources/new.svg deleted file mode 100644 index 982ee2489c..0000000000 --- a/bitmaps_png/sources/new.svg +++ /dev/null @@ -1,1053 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/new_txt.svg b/bitmaps_png/sources/new_txt.svg deleted file mode 100644 index e4ea768940..0000000000 --- a/bitmaps_png/sources/new_txt.svg +++ /dev/null @@ -1,1237 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bitmaps_png/sources/new_txt2.svg b/bitmaps_png/sources/new_txt2.svg deleted file mode 100644 index 136fe96454..0000000000 --- a/bitmaps_png/sources/new_txt2.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/common/dialogs/wx_html_report_panel.cpp b/common/dialogs/wx_html_report_panel.cpp index f7eef7f511..c2eb05b6b0 100644 --- a/common/dialogs/wx_html_report_panel.cpp +++ b/common/dialogs/wx_html_report_panel.cpp @@ -212,7 +212,7 @@ void WX_HTML_REPORT_PANEL::onBtnSaveToFile( wxCommandEvent& event ) wxString msg; msg.Printf( _( "Cannot write report to file '%s'." ), - fn.GetFullPath().c_str() ); + fn.GetFullPath().GetData() ); wxMessageBox( msg, _( "File save error" ), wxOK | wxICON_ERROR, this ); return; } diff --git a/eeschema/menubar.cpp b/eeschema/menubar.cpp index cbf7222c3e..b6b34d4d95 100644 --- a/eeschema/menubar.cpp +++ b/eeschema/menubar.cpp @@ -70,7 +70,7 @@ void SCH_EDIT_FRAME::ReCreateMenuBar() ID_NEW_PROJECT, _( "&New Schematic Project" ), _( "Clear current schematic hierarchy and start a new schematic root sheet" ), - KiBitmap( new_xpm ) ); + KiBitmap( new_sch_xpm ) ); text = AddHotkeyName( _( "&Open Schematic Project" ), g_Schematic_Hokeys_Descr, HK_LOAD_SCH ); AddMenuItem( fileMenu, diff --git a/eeschema/tool_sch.cpp b/eeschema/tool_sch.cpp index 91ce5e3870..fdd8d96497 100644 --- a/eeschema/tool_sch.cpp +++ b/eeschema/tool_sch.cpp @@ -54,7 +54,7 @@ void SCH_EDIT_FRAME::ReCreateHToolbar() if( Kiface().IsSingle() ) // not when under a project mgr { // These 2 menus have meaning only outside a project, i.e. not under a project manager: - m_mainToolBar->AddTool( ID_NEW_PROJECT, wxEmptyString, KiBitmap( new_xpm ), + m_mainToolBar->AddTool( ID_NEW_PROJECT, wxEmptyString, KiBitmap( new_sch_xpm ), _( "New schematic project" ) ); m_mainToolBar->AddTool( ID_LOAD_PROJECT, wxEmptyString, KiBitmap( open_document_xpm ), diff --git a/include/bitmaps.h b/include/bitmaps.h index 5cd445460b..cbd90feb1d 100644 --- a/include/bitmaps.h +++ b/include/bitmaps.h @@ -370,8 +370,6 @@ EXTERN_BITMAP( new_project_xpm ) EXTERN_BITMAP( new_project_with_template_xpm ) EXTERN_BITMAP( new_python_xpm ) EXTERN_BITMAP( new_sch_xpm ) -EXTERN_BITMAP( new_txt_xpm ) -EXTERN_BITMAP( new_xpm ) EXTERN_BITMAP( noconn_xpm ) EXTERN_BITMAP( normal_xpm ) EXTERN_BITMAP( online_help_xpm ) @@ -501,6 +499,10 @@ EXTERN_BITMAP( select_grid_xpm ) EXTERN_BITMAP( select_layer_pair_xpm ) EXTERN_BITMAP( select_w_layer_xpm ) EXTERN_BITMAP( sheetset_xpm ) +EXTERN_BITMAP( setcolor_3d_bg_xpm ) +EXTERN_BITMAP( setcolor_silkscreen_xpm ) +EXTERN_BITMAP( setcolor_soldermask_xpm ) +EXTERN_BITMAP( setcolor_copper_xpm ) EXTERN_BITMAP( show_dcodenumber_xpm ) EXTERN_BITMAP( show_footprint_xpm ) EXTERN_BITMAP( show_mod_edge_xpm )