Commit fe10a993 authored by charras's avatar charras
Browse files

Removed global default clearance, track size and vias drill. Use netclasses values only.

parent dbc736b3
Loading
Loading
Loading
Loading
+23 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,29 @@ KiCad ChangeLog 2009
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.


2009-oct-20 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================
Replace component library editor draw item dialog box.
* Created new component library editor draw item dialog box with
  wxFormBuilder.
* Removed previous DialogBlocks version of the draw item dialog box.
* Removed some additional global variables used in component library
  editor.
* Add IsFillable() method to draw item base object.

wxWidgets 2.9 string fixes and other minor updates.
* Replace all known instances of (const wxChar*) casts to GetChars() for
  wxWidgets 2.9 compatibility.
* Cleaned up get component dialog so last part gets saved on wild card
  selections.
* Remove redundant schematic component drawing code.
* Added SCH_COMPONENT constructor to create new component from library
  component object.
* Add message panel helpers to WinEDA_DrawFrame and update old message
  panel access code.
* Using library viewer to add component to schematic now respects unit
  and body style selection.

2009-oct-14 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
2009-oct-14 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================
================================================================================
Fix save last grid size and other minor updates.
Fix save last grid size and other minor updates.
+15 −0
Original line number Original line Diff line number Diff line
@@ -526,6 +526,21 @@ bool EDA_Rect::Intersects( const EDA_Rect aRect ) const
}
}




/**************************************************/
EDA_Rect& EDA_Rect::Inflate( int aDelta )
/**************************************************/

/** Function Inflate
 * Inflate "this": move each horizontal edgeand each vertical edge by aDelta
 * toward rect outside
 * if aDelta is negative, move toward rect inside (deflate)
 * Works for positive and negative rect size
 *
 */
{
    Inflate( aDelta, aDelta );
}

/**************************************************/
/**************************************************/
EDA_Rect& EDA_Rect::Inflate( wxCoord dx, wxCoord dy )
EDA_Rect& EDA_Rect::Inflate( wxCoord dx, wxCoord dy )
/**************************************************/
/**************************************************/
+1 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@ may choose to document this corresponding work in the CHANGELOG.txt file.
/*
/*
 * This program source code file is part of KICAD, a free EDA CAD application.
 * This program source code file is part of KICAD, a free EDA CAD application.
 *
 *
 * Copyright (C) 1992-2008 Jean-Pierre Charras, jean-pierre.charras@inpg.fr
 * Copyright (C) 1992-2008 Jean-Pierre Charras, jean-pierre.charras@gipsa-lab.inpg.fr
 * Copyright (C) 1992-2008 Kicad Developers, see change_log.txt for contributors.
 * Copyright (C) 1992-2008 Kicad Developers, see change_log.txt for contributors.
 *
 *
 * This program is free software; you can redistribute it and/or
 * This program is free software; you can redistribute it and/or
+14 −0
Original line number Original line Diff line number Diff line
@@ -207,8 +207,22 @@ public:
     */
     */
    operator wxRect() const { return wxRect( m_Pos, m_Size ); }
    operator wxRect() const { return wxRect( m_Pos, m_Size ); }


    /** Inflate
     * Inflate this object: move each horizontal edge by dx and each vertical edge by dy
     * toward rect outside
     * if dx and/or dy is negative, move toward rect inside (deflate)
     * Works for positive and negative rect size
     */
    EDA_Rect&   Inflate( wxCoord dx, wxCoord dy );
    EDA_Rect&   Inflate( wxCoord dx, wxCoord dy );


    /** Inflate
     * Inflate this object: move each horizontal edge and each vertical edge by aDelta
     * toward rect outside
     * if aDelta is negative, move toward rect inside (deflate)
     * Works for positive and negative rect size
     */
    EDA_Rect&   Inflate( int aDelta );

    /** Function Merge
    /** Function Merge
     * Modify Position and Size of this in order to contain the given rect
     * Modify Position and Size of this in order to contain the given rect
     * mainly used to calculate bounding boxes
     * mainly used to calculate bounding boxes
+7 −2
Original line number Original line Diff line number Diff line
@@ -224,7 +224,8 @@ class NETCLASS;
/**
/**
 * Class BOARD_CONNECTED_ITEM
 * Class BOARD_CONNECTED_ITEM
 * This is a base class derived from BOARD_ITEM for items that can be connected
 * This is a base class derived from BOARD_ITEM for items that can be connected
 * mainly: tracks and pads
 * and have a net, a netname, a clearance ...
 * mainly: tracks, pads and zones
 * Handle connection info
 * Handle connection info
 */
 */
class BOARD_CONNECTED_ITEM : public BOARD_ITEM
class BOARD_CONNECTED_ITEM : public BOARD_ITEM
@@ -248,7 +249,7 @@ public:
     * @return int - the net code.
     * @return int - the net code.
     */
     */
    int GetNet() const;
    int GetNet() const;
    void SetNet( int aNetCode );
    virtual void SetNet( int aNetCode );


    /**
    /**
     * Function GetSubNet
     * Function GetSubNet
@@ -289,6 +290,10 @@ public:
};
};




/*
 * class BOARD_ITEM_LIST
 * Handles a collection of BOARD_ITEM elements
*/
class BOARD_ITEM_LIST : public BOARD_ITEM
class BOARD_ITEM_LIST : public BOARD_ITEM
{
{
    typedef boost::ptr_vector<BOARD_ITEM>   ITEM_ARRAY;
    typedef boost::ptr_vector<BOARD_ITEM>   ITEM_ARRAY;
Loading