2008-12-21 16:54:27 +00:00
|
|
|
#ifndef __dialog_general_options_h
|
|
|
|
#define __dialog_general_options_h
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_general_options_BoardEditor_base.h>
|
2009-10-30 17:58:15 +00:00
|
|
|
|
2012-04-11 18:54:20 +00:00
|
|
|
class DIALOG_GENERALOPTIONS : public DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE
|
2008-12-21 16:54:27 +00:00
|
|
|
{
|
|
|
|
private:
|
2011-09-26 20:32:56 +00:00
|
|
|
BOARD* m_Board;
|
2009-02-24 22:41:30 +00:00
|
|
|
|
|
|
|
void init();
|
|
|
|
|
2008-12-21 16:54:27 +00:00
|
|
|
public:
|
2012-04-11 18:54:20 +00:00
|
|
|
DIALOG_GENERALOPTIONS( PCB_EDIT_FRAME* parent );
|
|
|
|
~DIALOG_GENERALOPTIONS() {};
|
2009-02-24 22:41:30 +00:00
|
|
|
void OnOkClick( wxCommandEvent& event );
|
|
|
|
void OnCancelClick( wxCommandEvent& event );
|
2011-09-26 20:32:56 +00:00
|
|
|
|
2014-05-04 17:08:36 +00:00
|
|
|
PCB_EDIT_FRAME* GetParent() const { return (PCB_EDIT_FRAME*) wxDialog::GetParent(); }
|
2012-04-11 18:54:20 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void OnMiddleBtnPanEnbl( wxCommandEvent& event )
|
|
|
|
{
|
|
|
|
m_OptMiddleButtonPanLimited->Enable( m_MiddleButtonPANOpt->GetValue() );
|
|
|
|
}
|
2008-12-21 16:54:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __dialog_general_options_h
|