Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
3e2662ae
Commit
3e2662ae
authored
Dec 04, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mord DRC changes
parent
36c316e7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
649 additions
and
511 deletions
+649
-511
cvframe.cpp
cvpcb/cvframe.cpp
+414
-377
dialog_drc.cpp
pcbnew/dialog_drc.cpp
+166
-44
dialog_drc.h
pcbnew/dialog_drc.h
+10
-0
drc.cpp
pcbnew/drc.cpp
+49
-77
drc_stuff.h
pcbnew/drc_stuff.h
+10
-13
No files found.
cvpcb/cvframe.cpp
View file @
3e2662ae
This diff is collapsed.
Click to expand it.
pcbnew/dialog_drc.cpp
View file @
3e2662ae
This diff is collapsed.
Click to expand it.
pcbnew/dialog_drc.h
View file @
3e2662ae
...
...
@@ -85,6 +85,16 @@ class DrcDialog: public wxDialog
DECLARE_DYNAMIC_CLASS
(
DrcDialog
)
DECLARE_EVENT_TABLE
()
/**
* Function writeReport
* outputs the MARKER items and unconnecte DRC_ITEMs with commentary to an
* open text file.
* @param fpOut The text file to write the report to.
*/
void
writeReport
(
FILE
*
fpOut
);
public
:
/// Constructors
DrcDialog
(
);
...
...
pcbnew/drc.cpp
View file @
3e2662ae
This diff is collapsed.
Click to expand it.
pcbnew/drc_stuff.h
View file @
3e2662ae
...
...
@@ -114,7 +114,9 @@ public:
{
wxString
ret
;
ret
.
Printf
(
_
(
"<b>ErrType(%d): %s</b><ul><li> %s: %s </li><li> %s: %s </li></ul>"
),
// an html fragment for the entire message in the listbox. feel free
// to add color if you want:
ret
.
Printf
(
_
(
"ErrType(%d): <b>%s</b><ul><li> %s: %s </li><li> %s: %s </li></ul>"
),
m_ErrorCode
,
GetErrorText
().
GetData
(),
ShowCoord
(
m_APos
).
GetData
(),
m_AText
.
GetData
(),
...
...
@@ -249,6 +251,8 @@ public:
};
typedef
std
::
vector
<
DRC_ITEM
*>
DRC_LIST
;
/**
* Class DRC
...
...
@@ -292,14 +296,12 @@ private:
int
m_xcliphi
;
int
m_ycliphi
;
// coord de la surface de securite du segment a comparer
int
m_unconnectedCount
;
WinEDA_PcbFrame
*
m_mainWindow
;
WinEDA_DrawPanel
*
m_drawPanel
;
BOARD
*
m_pcb
;
DrcDialog
*
m_ui
;
std
::
vector
<
DRC_ITEM
>
m_unconnected
;
DRC_LIST
m_unconnected
;
///< list of unconnected pads, as DRC_ITEMs
/**
...
...
@@ -425,6 +427,7 @@ private:
public
:
DRC
(
WinEDA_PcbFrame
*
aPcbWindow
);
~
DRC
();
/**
* Function Drc
...
...
@@ -465,9 +468,10 @@ public:
/**
* Function DestroyDialog
* deletes this ui dialog box and zeros out its pointer to remember
* the state of the dialog's existence.
* the state of the dialog's existence.
* @param aReason Indication of which button was clicked to cause the destruction.
*/
void
DestroyDialog
();
void
DestroyDialog
(
int
aReason
);
/**
...
...
@@ -505,13 +509,6 @@ public:
*/
void
ListUnconnectedPads
();
/**
* Function WriteReport
* outputs the MARKER items with commentary to an open text file.
* @param fpOut The text file to write the report to.
*/
void
WriteReport
(
FILE
*
fpOut
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment