2011-09-30 18:15:37 +00:00
|
|
|
/**
|
|
|
|
* @file dialog_graphic_items_options.h
|
|
|
|
*/
|
|
|
|
|
2010-02-24 15:33:03 +00:00
|
|
|
/*
|
2011-09-30 18:15:37 +00:00
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
2010-02-24 15:33:03 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 1992-2010 <Jean-Pierre Charras> jean-pierre.charras@gipsa-lab.inpg.fr
|
2016-07-15 10:05:13 +00:00
|
|
|
* Copyright (C) 1992-2016 KiCad Developers, see change_log.txt for contributors.
|
2010-02-24 15:33:03 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
2011-03-01 19:26:17 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
#ifndef _DIALOG_GRAPHIC_ITEMS_OPTIONS_H_
|
|
|
|
#define _DIALOG_GRAPHIC_ITEMS_OPTIONS_H_
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_graphic_items_options_base.h>
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/*!
|
2010-02-24 15:33:03 +00:00
|
|
|
* DIALOG_GRAPHIC_ITEMS_OPTIONS class declaration
|
2007-06-05 12:10:51 +00:00
|
|
|
*/
|
|
|
|
|
2010-02-24 15:33:03 +00:00
|
|
|
class DIALOG_GRAPHIC_ITEMS_OPTIONS: public DIALOG_GRAPHIC_ITEMS_OPTIONS_BASE
|
2010-01-31 20:01:46 +00:00
|
|
|
{
|
2012-02-12 19:39:37 +00:00
|
|
|
private:
|
|
|
|
BOARD_DESIGN_SETTINGS m_brdSettings;
|
|
|
|
PCB_BASE_FRAME * m_parent;
|
2010-01-31 20:01:46 +00:00
|
|
|
|
2010-02-24 15:33:03 +00:00
|
|
|
public:
|
2011-03-01 19:26:17 +00:00
|
|
|
DIALOG_GRAPHIC_ITEMS_OPTIONS( PCB_BASE_FRAME* parent );
|
|
|
|
~DIALOG_GRAPHIC_ITEMS_OPTIONS();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2010-02-24 15:33:03 +00:00
|
|
|
private:
|
|
|
|
void initValues( );
|
2016-09-24 18:53:15 +00:00
|
|
|
void OnOkClick( wxCommandEvent& event ) override;
|
|
|
|
void OnCancelClick( wxCommandEvent& event ) override;
|
2016-07-14 17:30:25 +00:00
|
|
|
|
2016-09-25 17:06:49 +00:00
|
|
|
void OnInitDlg( wxInitDialogEvent& event ) override
|
2016-07-14 17:30:25 +00:00
|
|
|
{
|
|
|
|
// Call the default wxDialog handler of a wxInitDialogEvent
|
|
|
|
TransferDataToWindow();
|
|
|
|
|
|
|
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
|
|
|
FinishDialogSettings();
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _DIALOG_GRAPHIC_ITEMS_OPTIONS_H_
|