2010-09-02 13:10:48 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2013-03-16 11:12:18 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 8 2012)
|
2010-09-02 13:10:48 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2012-02-17 19:43:43 +00:00
|
|
|
#ifndef __DIALOG_DESIGN_RULES_BASE_H__
|
|
|
|
#define __DIALOG_DESIGN_RULES_BASE_H__
|
2010-09-02 13:10:48 +00:00
|
|
|
|
2012-02-17 19:43:43 +00:00
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
2010-09-02 13:10:48 +00:00
|
|
|
#include <wx/intl.h>
|
2013-03-16 11:12:18 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
class NETS_LIST_CTRL;
|
|
|
|
|
2012-10-03 11:25:30 +00:00
|
|
|
#include "dialog_shim.h"
|
2010-09-02 13:10:48 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2011-05-05 17:45:35 +00:00
|
|
|
#include <wx/combobox.h>
|
2010-09-02 13:10:48 +00:00
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#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>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_DESIGN_RULES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2012-10-03 11:25:30 +00:00
|
|
|
class DIALOG_DESIGN_RULES_BASE : public DIALOG_SHIM
|
2010-09-02 13:10:48 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_ADD_NETCLASS = 1000,
|
|
|
|
wxID_REMOVE_NETCLASS,
|
|
|
|
ID_LEFT_TO_RIGHT_COPY,
|
2012-08-03 15:43:15 +00:00
|
|
|
ID_RIGHT_TO_LEFT_COPY
|
2010-09-02 13:10:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wxNotebook* m_DRnotebook;
|
|
|
|
wxPanel* m_panelNetClassesEditor;
|
|
|
|
wxGrid* m_grid;
|
|
|
|
wxButton* m_addButton;
|
|
|
|
wxButton* m_removeButton;
|
|
|
|
wxButton* m_moveUpButton;
|
2011-05-05 17:45:35 +00:00
|
|
|
wxComboBox* m_leftClassChoice;
|
2010-09-02 13:10:48 +00:00
|
|
|
NETS_LIST_CTRL* m_leftListCtrl;
|
|
|
|
wxButton* m_buttonRightToLeft;
|
|
|
|
wxButton* m_buttonLeftToRight;
|
|
|
|
wxButton* m_buttonLeftSelAll;
|
|
|
|
wxButton* m_buttonRightSelAll;
|
2011-05-05 17:45:35 +00:00
|
|
|
wxComboBox* m_rightClassChoice;
|
2010-09-02 13:10:48 +00:00
|
|
|
NETS_LIST_CTRL* m_rightListCtrl;
|
|
|
|
wxPanel* m_panelGolbalDesignRules;
|
|
|
|
wxRadioBox* m_OptViaType;
|
2011-04-16 15:03:21 +00:00
|
|
|
wxRadioBox* m_AllowMicroViaCtrl;
|
|
|
|
wxStaticText* m_TrackMinWidthTitle;
|
|
|
|
wxTextCtrl* m_SetTrackMinWidthCtrl;
|
2010-09-02 13:10:48 +00:00
|
|
|
wxStaticText* m_ViaMinTitle;
|
|
|
|
wxTextCtrl* m_SetViasMinSizeCtrl;
|
|
|
|
wxStaticText* m_ViaMinDrillTitle;
|
|
|
|
wxTextCtrl* m_SetViasMinDrillCtrl;
|
|
|
|
wxStaticText* m_MicroViaMinSizeTitle;
|
|
|
|
wxTextCtrl* m_SetMicroViasMinSizeCtrl;
|
|
|
|
wxStaticText* m_MicroViaMinDrillTitle;
|
|
|
|
wxTextCtrl* m_SetMicroViasMinDrillCtrl;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStaticText* m_staticTextInfo;
|
|
|
|
wxStaticText* m_staticText7;
|
|
|
|
wxGrid* m_gridViaSizeList;
|
|
|
|
wxStaticText* m_staticText8;
|
|
|
|
wxGrid* m_gridTrackWidthList;
|
|
|
|
wxHtmlWindow* m_MessagesList;
|
|
|
|
wxButton* m_buttonOk;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2011-01-21 14:19:06 +00:00
|
|
|
virtual void OnNetClassesNameLeftClick( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnNetClassesNameRightClick( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
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 OnOkButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2010-09-02 13:10:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
2011-01-21 14:19:06 +00:00
|
|
|
|
2012-02-17 19:43:43 +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( 777,697 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2010-09-02 13:10:48 +00:00
|
|
|
~DIALOG_DESIGN_RULES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2012-02-17 19:43:43 +00:00
|
|
|
#endif //__DIALOG_DESIGN_RULES_BASE_H__
|