kicad/pcbnew/dialogs/dialog_position_relative_ba...

78 lines
2.5 KiB
C
Raw Normal View History

2017-05-10 13:55:03 +00:00
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2017-05-10 13:55:03 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
2017-05-10 13:55:03 +00:00
///////////////////////////////////////////////////////////////////////////
#pragma once
2017-05-10 13:55:03 +00:00
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/stattext.h>
2017-05-10 13:55:03 +00:00
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/button.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
2017-05-10 13:55:03 +00:00
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
2017-05-10 13:55:03 +00:00
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_POSITION_RELATIVE_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_POSITION_RELATIVE_BASE : public DIALOG_SHIM
{
private:
2017-05-10 13:55:03 +00:00
protected:
wxStaticText* m_referenceInfo;
wxButton* m_user_origin_button;
wxButton* m_grid_origin_button;
wxButton* m_select_anchor_button;
wxStaticLine* m_staticline2;
2017-05-10 13:55:03 +00:00
wxStaticText* m_xLabel;
wxTextCtrl* m_xEntry;
2017-05-10 13:55:03 +00:00
wxStaticText* m_xUnit;
wxButton* m_clearX;
wxStaticText* m_yLabel;
wxTextCtrl* m_yEntry;
2017-05-10 13:55:03 +00:00
wxStaticText* m_yUnit;
wxButton* m_clearY;
wxCheckBox* m_polarCoords;
2017-05-10 13:55:03 +00:00
wxStdDialogButtonSizer* m_stdButtons;
wxButton* m_stdButtonsOK;
wxButton* m_stdButtonsCancel;
// Virtual event handlers, override them in your derived class
2017-05-10 13:55:03 +00:00
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
virtual void OnUseUserOriginClick( wxCommandEvent& event ) { event.Skip(); }
virtual void OnUseGridOriginClick( wxCommandEvent& event ) { event.Skip(); }
virtual void OnSelectItemClick( wxCommandEvent& event ) { event.Skip(); }
2017-05-10 13:55:03 +00:00
virtual void OnTextFocusLost( wxFocusEvent& event ) { event.Skip(); }
virtual void OnClear( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPolarChanged( wxCommandEvent& event ) { event.Skip(); }
2017-05-10 13:55:03 +00:00
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
2017-05-10 13:55:03 +00:00
public:
DIALOG_POSITION_RELATIVE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Position Relative To Reference Item"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
2017-05-10 13:55:03 +00:00
~DIALOG_POSITION_RELATIVE_BASE();
2017-05-10 13:55:03 +00:00
};