2009-07-18 11:44:19 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2009-11-02 20:36:20 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Apr 16 2008)
|
2009-07-18 11:44:19 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __dialog_design_rules_base__
|
|
|
|
#define __dialog_design_rules_base__
|
|
|
|
|
|
|
|
#include <wx/intl.h>
|
|
|
|
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2009-09-10 15:22:26 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/font.h>
|
2009-07-18 11:44:19 +00:00
|
|
|
#include <wx/grid.h>
|
2009-09-10 15:22:26 +00:00
|
|
|
#include <wx/gdicmn.h>
|
2009-07-18 11:44:19 +00:00
|
|
|
#include <wx/button.h>
|
2009-09-10 15:22:26 +00:00
|
|
|
#include <wx/sizer.h>
|
2009-07-18 11:44:19 +00:00
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/choice.h>
|
2009-09-10 15:22:26 +00:00
|
|
|
#include <wx/listctrl.h>
|
2009-10-21 19:16:25 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2009-10-26 19:00:46 +00:00
|
|
|
#include <wx/statline.h>
|
2009-10-21 19:16:25 +00:00
|
|
|
#include <wx/notebook.h>
|
2009-07-18 11:44:19 +00:00
|
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_DESIGN_RULES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_DESIGN_RULES_BASE : public wxDialog
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2009-10-06 18:58:51 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_ADD_NETCLASS = 1000,
|
|
|
|
wxID_REMOVE_NETCLASS,
|
|
|
|
ID_LEFT_CHOICE_CLICK,
|
|
|
|
ID_LEFT_TO_RIGHT_COPY,
|
|
|
|
ID_RIGHT_TO_LEFT_COPY,
|
|
|
|
ID_RIGHT_CHOICE_CLICK,
|
|
|
|
};
|
|
|
|
|
2009-10-21 19:16:25 +00:00
|
|
|
wxNotebook* m_DRnotebook;
|
|
|
|
wxPanel* m_panelNetClassesEditor;
|
2009-09-10 15:22:26 +00:00
|
|
|
wxGrid* m_grid;
|
|
|
|
wxButton* m_addButton;
|
|
|
|
wxButton* m_removeButton;
|
|
|
|
wxButton* m_moveUpButton;
|
|
|
|
wxChoice* m_leftClassChoice;
|
|
|
|
wxListCtrl* m_leftListCtrl;
|
2009-07-18 11:44:19 +00:00
|
|
|
wxButton* m_buttonRightToLeft;
|
|
|
|
wxButton* m_buttonLeftToRight;
|
|
|
|
wxButton* m_buttonLeftSelAll;
|
|
|
|
wxButton* m_buttonRightSelAll;
|
2009-09-10 15:22:26 +00:00
|
|
|
wxChoice* m_rightClassChoice;
|
|
|
|
wxListCtrl* m_rightListCtrl;
|
2009-10-21 19:16:25 +00:00
|
|
|
wxPanel* m_panelGolbalDesignRules;
|
|
|
|
wxRadioBox* m_OptViaType;
|
|
|
|
wxStaticText* m_ViaMinTitle;
|
|
|
|
wxTextCtrl* m_SetViasMinSizeCtrl;
|
|
|
|
wxStaticText* m_ViaMinDrillTitle;
|
|
|
|
wxTextCtrl* m_SetViasMinDrillCtrl;
|
|
|
|
wxRadioBox* m_AllowMicroViaCtrl;
|
|
|
|
wxStaticText* m_MicroViaMinSizeTitle;
|
|
|
|
wxTextCtrl* m_SetMicroViasMinSizeCtrl;
|
|
|
|
wxStaticText* m_MicroViaMinDrillTitle;
|
|
|
|
wxTextCtrl* m_SetMicroViasMinDrillCtrl;
|
|
|
|
wxStaticText* m_TrackMinWidthTitle;
|
|
|
|
wxTextCtrl* m_SetTrackMinWidthCtrl;
|
2009-10-26 19:00:46 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStaticText* m_staticTextInfo;
|
|
|
|
wxStaticText* m_staticText7;
|
|
|
|
wxGrid* m_gridViaSizeList;
|
2009-10-27 04:00:23 +00:00
|
|
|
wxStaticText* m_staticText8;
|
2009-10-26 19:00:46 +00:00
|
|
|
wxGrid* m_gridTrackWidthList;
|
2009-07-18 11:44:19 +00:00
|
|
|
wxHtmlWindow* m_MessagesList;
|
2009-10-07 17:10:37 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbButtonsSizer;
|
|
|
|
wxButton* m_sdbButtonsSizerOK;
|
|
|
|
wxButton* m_sdbButtonsSizerCancel;
|
2009-07-18 11:44:19 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2009-09-27 11:00:21 +00:00
|
|
|
virtual void OnNetClassesNameLeftClick( wxGridEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnNetClassesNameRightClick( wxGridEvent& event ){ event.Skip(); }
|
2009-09-17 17:48:40 +00:00
|
|
|
virtual void OnAddNetclassClick( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnRemoveNetclassClick( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMoveUpSelectedNetClass( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnLeftCBSelection( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnRightToLeftCopyButton( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnLeftToRightCopyButton( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnLeftSelectAllButton( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnRightSelectAllButton( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnRightCBSelection( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnOkButtonClick( wxCommandEvent& event ){ event.Skip(); }
|
2009-07-18 11:44:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
2009-11-02 20:36:20 +00:00
|
|
|
DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 900,640 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2009-07-18 11:44:19 +00:00
|
|
|
~DIALOG_DESIGN_RULES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__dialog_design_rules_base__
|