From aa35045840b78d3f48212db45da59a2e5c69b223 Mon Sep 17 00:00:00 2001 From: saurabhb17 Date: Wed, 26 Feb 2020 15:57:49 +0530 Subject: Added main execs --- .../dialogs/dialog_layers_select_to_pcb_base.h | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 gerbview/dialogs/dialog_layers_select_to_pcb_base.h (limited to 'gerbview/dialogs/dialog_layers_select_to_pcb_base.h') diff --git a/gerbview/dialogs/dialog_layers_select_to_pcb_base.h b/gerbview/dialogs/dialog_layers_select_to_pcb_base.h new file mode 100644 index 0000000..c5cfba6 --- /dev/null +++ b/gerbview/dialogs/dialog_layers_select_to_pcb_base.h @@ -0,0 +1,88 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Apr 10 2012) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__ +#define __DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__ + +#include +#include +#include +#include "dialog_shim.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + +/////////////////////////////////////////////////////////////////////////////// +/// 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_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); } + void _wxFB_OnOkClick( wxCommandEvent& event ){ OnOkClick( event ); } + + + protected: + enum + { + ID_LAYERS_MAP_DIALOG_BASE = 1000, + ID_M_STATICLINESEP, + ID_M_STATICTEXTCOPPERLAYERCOUNT, + ID_M_COMBOCOPPERLAYERSCOUNT, + ID_STORE_CHOICE, + ID_GET_PREVIOUS_CHOICE, + ID_RESET_CHOICE + }; + + wxStaticBoxSizer* sbSizerLayersTable; + wxFlexGridSizer* m_flexLeftColumnBoxSizer; + wxStaticLine* m_staticlineSep; + 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 OnCancelClick( wxCommandEvent& event ) { event.Skip(); } + virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); } + + + public: + + 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( 400,286 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + ~LAYERS_MAP_DIALOG_BASE(); + +}; + +#endif //__DIALOG_LAYERS_SELECT_TO_PCB_BASE_H__ -- cgit