2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2025-01-08 16:58:15 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
|
2013-05-25 23:36:44 -05:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-17 16:27:59 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-04-05 16:15:16 -04:00
|
|
|
#pragma once
|
2013-05-25 23:36:44 -05:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2015-06-16 14:20:42 +02:00
|
|
|
class WX_HTML_REPORT_PANEL;
|
2015-05-01 17:01:09 +02:00
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/textctrl.h>
|
2019-04-05 16:15:16 -04:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-02-17 16:27:59 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2013-05-25 23:36:44 -05:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
2025-01-08 16:58:15 +00:00
|
|
|
#include <wx/choice.h>
|
2018-07-07 17:46:23 +01:00
|
|
|
#include <wx/checkbox.h>
|
2015-06-16 14:20:42 +02:00
|
|
|
#include <wx/panel.h>
|
2013-05-25 23:36:44 -05:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-02-16 20:26:55 +01:00
|
|
|
/// Class DIALOG_GEN_FOOTPRINT_POSITION_BASE
|
2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-02-16 20:26:55 +01:00
|
|
|
class DIALOG_GEN_FOOTPRINT_POSITION_BASE : public DIALOG_SHIM
|
2013-05-25 23:36:44 -05:00
|
|
|
{
|
|
|
|
private:
|
2019-04-05 16:15:16 -04:00
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
protected:
|
|
|
|
wxBoxSizer* m_MainSizer;
|
|
|
|
wxStaticText* m_staticTextDir;
|
|
|
|
wxTextCtrl* m_outputDirectoryName;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_browseButton;
|
2025-01-08 16:58:15 +00:00
|
|
|
wxStaticText* m_formatLabel;
|
2025-01-08 17:13:37 +00:00
|
|
|
wxChoice* m_formatCtrl;
|
2025-01-08 16:58:15 +00:00
|
|
|
wxStaticText* m_unitsLabel;
|
2025-01-08 17:13:37 +00:00
|
|
|
wxChoice* m_unitsCtrl;
|
2021-07-20 10:23:21 +02:00
|
|
|
wxCheckBox* m_onlySMD;
|
2020-08-26 22:43:38 +01:00
|
|
|
wxCheckBox* m_excludeTH;
|
2023-08-04 11:02:10 -07:00
|
|
|
wxCheckBox* m_excludeDNP;
|
2019-11-01 13:35:42 +01:00
|
|
|
wxCheckBox* m_cbIncludeBoardEdge;
|
2021-06-27 17:39:09 +01:00
|
|
|
wxCheckBox* m_useDrillPlaceOrigin;
|
2022-08-02 11:22:12 +02:00
|
|
|
wxCheckBox* m_negateXcb;
|
2025-01-08 17:13:37 +00:00
|
|
|
wxCheckBox* m_singleFile;
|
2015-06-16 14:20:42 +02:00
|
|
|
WX_HTML_REPORT_PANEL* m_messagesPanel;
|
2019-06-30 13:54:35 +02:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-04-05 16:15:16 -04:00
|
|
|
|
2022-08-02 11:22:12 +02:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2025-01-08 16:58:15 +00:00
|
|
|
virtual void onOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
|
2025-01-08 17:13:37 +00:00
|
|
|
virtual void onUpdateUIFileOpt( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onUpdateUIUnits( wxUpdateUIEvent& event ) { event.Skip(); }
|
2021-07-20 10:23:21 +02:00
|
|
|
virtual void onUpdateUIOnlySMD( wxUpdateUIEvent& event ) { event.Skip(); }
|
2020-08-26 22:43:38 +01:00
|
|
|
virtual void onUpdateUIExcludeTH( wxUpdateUIEvent& event ) { event.Skip(); }
|
2019-11-01 13:35:42 +01:00
|
|
|
virtual void onUpdateUIincludeBoardEdge( wxUpdateUIEvent& event ) { event.Skip(); }
|
2022-08-02 11:22:12 +02:00
|
|
|
virtual void onUpdateUInegXcoord( wxUpdateUIEvent& event ) { event.Skip(); }
|
2025-01-08 17:13:37 +00:00
|
|
|
virtual void onGenerate( wxCommandEvent& event ) { event.Skip(); }
|
2019-04-05 16:15:16 -04:00
|
|
|
|
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
public:
|
2019-04-05 16:15:16 -04:00
|
|
|
|
2021-01-28 17:32:43 +00:00
|
|
|
DIALOG_GEN_FOOTPRINT_POSITION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Generate Placement Files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-08-02 11:22:12 +02:00
|
|
|
|
2018-02-16 20:26:55 +01:00
|
|
|
~DIALOG_GEN_FOOTPRINT_POSITION_BASE();
|
2019-04-05 16:15:16 -04:00
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
};
|
|
|
|
|