Commit 9c0eeadf authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Pcbnew: fix some minor issues.

Remove obsolete foldr resources/icons.
Updates svg icons in folder resources.
parent 4c858cbb
Loading
Loading
Loading
Loading
+49 −45
Original line number Diff line number Diff line
@@ -8,35 +8,39 @@
static const 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, 0xb9, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xed, 0xd6, 0x3d, 0x68, 0x53,
 0x51, 0x18, 0x06, 0xe0, 0x27, 0x6d, 0x8c, 0xa9, 0x55, 0x2b, 0x46, 0xd1, 0xd2, 0x0a, 0x15, 0x6a,
 0x87, 0x76, 0xb0, 0xe2, 0x1f, 0x12, 0x84, 0x22, 0x5a, 0x8a, 0xd2, 0x41, 0x11, 0x74, 0x50, 0x41,
 0xa5, 0xe0, 0xd6, 0x41, 0x90, 0x82, 0x0e, 0x11, 0x47, 0xa9, 0x48, 0x42, 0xc4, 0xdc, 0x13, 0x11,
 0x07, 0x17, 0xc7, 0x82, 0x9b, 0xa3, 0x9b, 0xbb, 0xba, 0x0b, 0x0e, 0x8a, 0x43, 0x27, 0x85, 0x62,
 0xe3, 0x72, 0x7b, 0x0d, 0x52, 0x7f, 0x92, 0x9b, 0x8a, 0x83, 0xc3, 0x99, 0x9f, 0xf3, 0x9d, 0xf7,
 0x3b, 0xdf, 0x39, 0x1a, 0x8d, 0x86, 0xbf, 0xb1, 0xfc, 0x87, 0xfe, 0x19, 0x48, 0x70, 0x4c, 0x49,
 0xd7, 0x9a, 0x42, 0x82, 0x39, 0x41, 0x43, 0xcd, 0x23, 0x64, 0xd6, 0x04, 0x12, 0x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x5b, 0x13, 0x58, 0x13, 0x5d, 0xfd, 0x74,
 0x0c, 0x62, 0x00, 0x5d, 0x95, 0x32, 0xb2, 0x22, 0x10, 0x31, 0x90, 0xbf, 0x51, 0xd0, 0xe2, 0x57,
 0x96, 0x99, 0x2d, 0x09, 0xac, 0x15, 0xdb, 0xd1, 0x5e, 0xd3, 0xc6, 0x5b, 0x02, 0xb9, 0x59, 0x2e,
 0xfc, 0xc4, 0x75, 0x9a, 0x52, 0x8b, 0x21, 0xad, 0x4e, 0xf4, 0x25, 0xa4, 0x88, 0xc8, 0x0d, 0x95,
 0x43, 0xde, 0x3d, 0xa3, 0xfb, 0x30, 0x3a, 0xeb, 0x76, 0x5e, 0x15, 0x68, 0x8f, 0xdb, 0x99, 0x1f,
 0x2f, 0x40, 0xde, 0x8e, 0xd1, 0x75, 0x14, 0xfd, 0x68, 0xac, 0x2b, 0xa8, 0x00, 0xbb, 0xdd, 0xcb,
 0xc4, 0x7d, 0x3a, 0x8f, 0x60, 0x6f, 0xe1, 0x20, 0xab, 0xad, 0x5d, 0xa5, 0x55, 0x76, 0xf0, 0x85,
 0xd0, 0xd2, 0xce, 0xb7, 0x4d, 0xf8, 0x14, 0x63, 0x5c, 0xa8, 0xe7, 0x15, 0xec, 0x0f, 0x67, 0x83,
 0x90, 0xe8, 0x8e, 0xba, 0xc6, 0x9b, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42,
 0x60, 0x82,
};

+163 −35
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48" version="1.1">
 <defs>
  <mask id="e">
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-72.949" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-87.48" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-102.01" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-116.54" x="35.044" fill="#fff"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   height="48"
   width="48"
   version="1.1"
   id="svg2"
   inkscape:version="0.48.1 "
   sodipodi:docname="add_dashed_line.svg">
  <metadata
     id="metadata53">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <sodipodi:namedview
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1"
     objecttolerance="10"
     gridtolerance="10"
     guidetolerance="10"
     inkscape:pageopacity="0"
     inkscape:pageshadow="2"
     inkscape:window-width="1226"
     inkscape:window-height="887"
     id="namedview51"
     showgrid="false"
     inkscape:zoom="13.795645"
     inkscape:cx="23.748951"
     inkscape:cy="22.596987"
     inkscape:window-x="0"
     inkscape:window-y="0"
     inkscape:window-maximized="0"
     inkscape:current-layer="g31" />
  <defs
     id="defs4">
    <mask
       id="e">
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-72.949"
         x="35.044"
         fill="#fff"
         id="rect7" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-87.48"
         x="35.044"
         fill="#fff"
         id="rect9" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-102.01"
         x="35.044"
         fill="#fff"
         id="rect11" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-116.54"
         x="35.044"
         fill="#fff"
         id="rect13" />
    </mask>
  <mask id="f">
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-72.949" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-87.48" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-102.01" x="35.044" fill="#fff"/>
   <rect transform="rotate(90)" height="8.6868" width="9.3725" y="-116.54" x="35.044" fill="#fff"/>
    <mask
       id="f">
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-72.949"
         x="35.044"
         fill="#fff"
         id="rect16" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-87.48"
         x="35.044"
         fill="#fff"
         id="rect18" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-102.01"
         x="35.044"
         fill="#fff"
         id="rect20" />
      <rect
         transform="rotate(90)"
         height="8.6868"
         width="9.3725"
         y="-116.54"
         x="35.044"
         fill="#fff"
         id="rect22" />
    </mask>
  <filter id="d" color-interpolation-filters="sRGB">
   <feGaussianBlur stdDeviation="0.76169817"/>
    <filter
       id="d"
       color-interpolation-filters="sRGB">
      <feGaussianBlur
         stdDeviation="0.76169817"
         id="feGaussianBlur25" />
    </filter>
  </defs>
 <g opacity=".32031" filter="url(#d)" transform="matrix(.67436 -.62512 .80951 .85338 -69.426 51.707)">
  <rect mask="url(#f)" height="4.3512" width="64.872" y="37.555" x="57.967"/>
  <g
     opacity=".32031"
     filter="url(#d)"
     transform="matrix(.67436 -.62512 .80951 .85338 -69.426 51.707)"
     id="g27">
    <rect
       mask="url(#f)"
       height="4.3512"
       width="64.872"
       y="37.555"
       x="57.967"
       id="rect29" />
  </g>
 <g transform="matrix(.67436 -.62512 .80951 .85338 -70.92 49.048)">
  <rect mask="url(#e)" height="4.3512" width="64.872" y="37.555" x="57.967" fill="#009b00"/>
  <g
     transform="matrix(.67436 -.62512 .80951 .85338 -70.92 49.048)"
     id="g31">
    <rect
       mask="url(#e)"
       height="4.3512001"
       width="64.872002"
       y="37.555"
       x="57.966999"
       id="rect33"
       style="fill:#0000ff;fill-opacity:1"
       transform="matrix(1.1009791,-0.02918954,-0.047834,1.1057876,-5.5367918,-1.8540188)" />
  </g>
 <g transform="matrix(2.9379,0,0,2.1996,2.1067,3.2221)">
  <rect fill-opacity="0" height="16" width="16" y="0" x="0"/>
 </g>
 <g transform="matrix(3.433,0,0,3.1874,32.979,20.986)">
  <path fill="#afaf00" d="m12 5.5-2.5174-1.3495-2.5388 1.3087 0.5056-2.8112-2.0292-2.0101 2.8298-0.3879 1.2847-2.551 1.2433 2.5714 2.823 0.43352-2.061 1.9771z" transform="matrix(.86499 0 0 .86499 3.3638 -4.5167)"/>
  <path fill="#ebeb00" d="m12 5.5-2.5174-1.3495-2.5388 1.3087 0.5056-2.8112-2.0292-2.0101 2.8298-0.3879 1.2847-2.551 1.2433 2.5714 2.823 0.43352-2.061 1.9771z" transform="matrix(.61624 0 0 .61624 5.7296 -4.1188)"/>
  <path fill="#ff0" d="m12 5.5-2.5174-1.3495-2.5388 1.3087 0.5056-2.8112-2.0292-2.0101 2.8298-0.3879 1.2847-2.551 1.2433 2.5714 2.823 0.43352-2.061 1.9771z" transform="matrix(.3815 0 0 .3815 7.9622 -3.7434)"/>
 </g>
 <g transform="matrix(2.8733,0,0,2.8125,97.495,4.2)">
  <rect fill-opacity="0" height="16" width="16" y="0" x="0"/>
  <g
     transform="matrix(2.9379,0,0,2.1996,2.1067,3.2221)"
     id="g35">
    <rect
       fill-opacity="0"
       height="16"
       width="16"
       y="0"
       x="0"
       id="rect37" />
  </g>
</svg>
+5 −2
Original line number Diff line number Diff line
@@ -91,8 +91,11 @@ static void InitKiCadAboutNew( AboutAppInfo& info )

    /* Operating System Information */

#if defined __WINDOWS__
    libVersion << wxT( "on Windows" );
#if defined __WIN64__
	libVersion << wxT( "on 64 Bits Windows" );

#   elif defined __WINDOWS__
    libVersion << wxT( "on 32 Bits Windows" );

    /* Check for wxMAC */
#   elif defined __WXMAC__
+40 −0
Original line number Diff line number Diff line
@@ -21,9 +21,49 @@
 *
 */

#include <limits>
#include "transline.h"
#include "units.h"

#ifndef INFINITY
#define INFINITY std::numeric_limits<double>::infinity()
#endif


#ifndef M_PI_2
#define M_PI_2 (M_PI/2)
#endif

#ifdef _MSC_VER
inline bool isinf(double x)
{
	return x == INFINITY; // return true if x is infinity
}

inline double asinh(double x)
{
  return log(x+sqrt(x*x+1));
}

inline double acosh(double x)
{
  // must be x>=1, if not return Nan (Not a Number)
  if(!(x>=1.0)) return sqrt(-1.0);

  // return only the positive result (as sqrt does).
  return log(x+sqrt(x*x-1.0));
}

inline double atanh(double x)
{
  // must be x>-1, x<1, if not return Nan (Not a Number)
  if(!(x>-1.0 && x<1.0)) return sqrt(-1.0);

  return log((1.0+x)/(1.0-x))/2.0;
}
#endif


// Functions to Read/Write parameters in pcb_calculator main frame:
// They are wrapper to actual functions, so all transline functions do not
// depend on Graphic User Interface
+9 −13
Original line number Diff line number Diff line
@@ -300,11 +300,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
    editMenu->Append( item );

    // Swap Layers
    item = new wxMenuItem( editMenu, ID_MENU_PCB_SWAP_LAYERS,
    AddMenuItem( editMenu, ID_MENU_PCB_SWAP_LAYERS,
                 _( "&Swap Layers" ),
                           _( "Swap tracks on copper layers or drawings on other layers" ) );
    SET_BITMAP( KiBitmap( swap_layer_xpm ) );
    editMenu->Append( item );
                 _( "Swap tracks on copper layers or drawings on other layers" ),
                 KiBitmap( swap_layer_xpm ) );

    // Reset module reference sizes
    item = new wxMenuItem( editMenu,
@@ -608,11 +607,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
    toolsMenu->Append( item );

    /* Layer pair */
    item = new wxMenuItem( toolsMenu, ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR,
    AddMenuItem( toolsMenu, ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR,
                           _( "Layer Pair" ),
                           _( "Change the active layer pair" ) );
    SET_BITMAP( KiBitmap( web_support_xpm ) );
    toolsMenu->Append( item );
                           _( "Change the active layer pair" ),
                           KiBitmap( select_layer_pair_xpm ) );

    /* DRC */
    item = new wxMenuItem( toolsMenu, ID_DRC_CONTROL,
@@ -655,13 +653,11 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
    AddHelpVersionInfoMenuEntry( helpMenu );

    // Contents
    AddMenuItem( helpMenu,
                 wxID_HELP,
    AddMenuItem( helpMenu, wxID_HELP,
                 _( "&Contents" ),
                 _( "Open the PCBNew handbook" ),
                 KiBitmap( online_help_xpm ) );
    AddMenuItem( helpMenu,
                 wxID_INDEX,
    AddMenuItem( helpMenu, wxID_INDEX,
                 _( "&Getting Started in KiCad" ),
                 _( "Open the \"Getting Started in KiCad\" guide for beginners" ),
                 KiBitmap( help_xpm ) );
Loading