2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-01-05 10:45:50 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Aug 4 2017)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-01-05 10:45:50 +00:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__
|
|
|
|
#define __DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-01-05 10:45:50 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
2018-01-05 10:45:50 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-01-05 10:45:50 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/combobox.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-01-05 10:45:50 +00:00
|
|
|
#define ID_LAYERS_MAP_DIALOG_BASE 1000
|
|
|
|
#define ID_M_STATICLINESEP 1001
|
|
|
|
#define ID_M_STATICTEXTCOPPERLAYERCOUNT 1002
|
|
|
|
#define ID_M_COMBOCOPPERLAYERSCOUNT 1003
|
|
|
|
#define ID_STORE_CHOICE 1004
|
|
|
|
#define ID_GET_PREVIOUS_CHOICE 1005
|
|
|
|
#define ID_RESET_CHOICE 1006
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class LAYERS_MAP_DIALOG_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class LAYERS_MAP_DIALOG_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
private:
|
|
|
|
|
|
|
|
// Private event handlers
|
|
|
|
void _wxFB_OnBrdLayersCountSelection( wxCommandEvent& event ){ OnBrdLayersCountSelection( event ); }
|
|
|
|
void _wxFB_OnStoreSetup( wxCommandEvent& event ){ OnStoreSetup( event ); }
|
|
|
|
void _wxFB_OnGetSetup( wxCommandEvent& event ){ OnGetSetup( event ); }
|
|
|
|
void _wxFB_OnResetClick( wxCommandEvent& event ){ OnResetClick( event ); }
|
|
|
|
void _wxFB_OnOkClick( wxCommandEvent& event ){ OnOkClick( event ); }
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
2018-01-05 10:45:50 +00:00
|
|
|
wxStaticText* m_staticTextLayerSel;
|
|
|
|
wxBoxSizer* m_bSizerLayerList;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxFlexGridSizer* m_flexLeftColumnBoxSizer;
|
|
|
|
wxStaticLine* m_staticlineSep;
|
2018-01-05 10:45:50 +00:00
|
|
|
wxFlexGridSizer* m_flexRightColumnBoxSizer;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextCopperlayerCount;
|
|
|
|
wxComboBox* m_comboCopperLayersCount;
|
|
|
|
wxButton* m_buttonStore;
|
|
|
|
wxButton* m_buttonRetrieve;
|
|
|
|
wxButton* m_buttonReset;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
|
|
|
wxButton* m_sdbSizerButtonsOK;
|
|
|
|
wxButton* m_sdbSizerButtonsCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnBrdLayersCountSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnStoreSetup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnGetSetup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnResetClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-01-05 10:45:50 +00:00
|
|
|
LAYERS_MAP_DIALOG_BASE( wxWindow* parent, wxWindowID id = ID_LAYERS_MAP_DIALOG_BASE, const wxString& title = _("Layer Selection"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 386,333 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-26 04:36:44 +00:00
|
|
|
~LAYERS_MAP_DIALOG_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__
|