From cb1384032a1737466631779e02b53b77e37ebc0b Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Thu, 14 Feb 2008 01:59:31 +0000 Subject: [PATCH] more amazing free specctra work --- pcbnew/specctra_export.cpp | 12 ++---------- todo.txt | 3 --- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/pcbnew/specctra_export.cpp b/pcbnew/specctra_export.cpp index 0adc3bdcb8..330c503ba9 100644 --- a/pcbnew/specctra_export.cpp +++ b/pcbnew/specctra_export.cpp @@ -279,7 +279,7 @@ static bool isRectangle( POINT_PAIRS& aList ) /** * Function isKeepout - * decides if the pad is a copper less through hole which needs to be made into + * decides if the pad is a copper-less through hole which needs to be made into * a round keepout. */ static bool isKeepout( D_PAD* aPad ) @@ -520,7 +520,6 @@ PADSTACK* SPECCTRA_DB::makePADSTACK( BOARD* aBoard, D_PAD* aPad ) /// data type used to ensure unique-ness of pin names typedef std::map PINMAP; -typedef std::pair PINMAP_PAIR; IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, MODULE* aModule ) @@ -571,7 +570,7 @@ IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, MODULE* aModule ) { // padstack is a duplicate, delete it and use the original delete padstack; - padstack = (PADSTACK*) *iter.base(); // folk lore, becareful here + padstack = (PADSTACK*) *iter.base(); // folk lore, be careful here } else { @@ -678,13 +677,6 @@ PADSTACK* SPECCTRA_DB::makeVia( const SEGVIA* aVia ) } -#if 0 -void SPECCTRA_DB::makePADSTACKs( BOARD* aBoard, TYPE_COLLECTOR& aPads ) -{ -} -#endif - - typedef std::set STRINGSET; typedef std::pair STRINGSET_PAIR; diff --git a/todo.txt b/todo.txt index 1a01943d32..725f2a0063 100644 --- a/todo.txt +++ b/todo.txt @@ -57,9 +57,6 @@ Use the collector classes in eeschema. asked by: dick ================================================================================ specctra: -no blank pin numbers. -check that pin numbers are unique within a part, combine all such pins -into common padstack. prompt for board boundary control, copper areas, tracks and vias, via per net, fixed vs. normal. do write up.