Commit 3e2662ae authored by dickelbeck's avatar dickelbeck

mord DRC changes

parent 36c316e7
This diff is collapsed.
This diff is collapsed.
...@@ -85,6 +85,16 @@ class DrcDialog: public wxDialog ...@@ -85,6 +85,16 @@ class DrcDialog: public wxDialog
DECLARE_DYNAMIC_CLASS( DrcDialog ) DECLARE_DYNAMIC_CLASS( DrcDialog )
DECLARE_EVENT_TABLE() 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: public:
/// Constructors /// Constructors
DrcDialog( ); DrcDialog( );
......
This diff is collapsed.
...@@ -114,7 +114,9 @@ public: ...@@ -114,7 +114,9 @@ public:
{ {
wxString ret; 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, m_ErrorCode,
GetErrorText().GetData(), GetErrorText().GetData(),
ShowCoord( m_APos ).GetData(), m_AText.GetData(), ShowCoord( m_APos ).GetData(), m_AText.GetData(),
...@@ -249,6 +251,8 @@ public: ...@@ -249,6 +251,8 @@ public:
}; };
typedef std::vector<DRC_ITEM*> DRC_LIST;
/** /**
* Class DRC * Class DRC
...@@ -292,14 +296,12 @@ private: ...@@ -292,14 +296,12 @@ private:
int m_xcliphi; int m_xcliphi;
int m_ycliphi; // coord de la surface de securite du segment a comparer int m_ycliphi; // coord de la surface de securite du segment a comparer
int m_unconnectedCount;
WinEDA_PcbFrame* m_mainWindow; WinEDA_PcbFrame* m_mainWindow;
WinEDA_DrawPanel* m_drawPanel; WinEDA_DrawPanel* m_drawPanel;
BOARD* m_pcb; BOARD* m_pcb;
DrcDialog* m_ui; 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: ...@@ -425,6 +427,7 @@ private:
public: public:
DRC( WinEDA_PcbFrame* aPcbWindow ); DRC( WinEDA_PcbFrame* aPcbWindow );
~DRC();
/** /**
* Function Drc * Function Drc
...@@ -465,9 +468,10 @@ public: ...@@ -465,9 +468,10 @@ public:
/** /**
* Function DestroyDialog * Function DestroyDialog
* deletes this ui dialog box and zeros out its pointer to remember * 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: ...@@ -505,13 +509,6 @@ public:
*/ */
void ListUnconnectedPads(); 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 );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment