2009-10-27 19:30:32 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KICAD, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1992-2009 Kicad Developers, see change_log.txt for contributors.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
#ifndef _ANNOTATE_DIALOG_H_
|
|
|
|
#define _ANNOTATE_DIALOG_H_
|
|
|
|
|
2009-10-27 19:30:32 +00:00
|
|
|
#include "dialog_annotate_base.h"
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2010-11-10 15:30:12 +00:00
|
|
|
|
|
|
|
class WinEDA_SchematicFrame;
|
|
|
|
class wxConfig;
|
|
|
|
|
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
/*!
|
2009-10-27 19:30:32 +00:00
|
|
|
* DIALOG_ANNOTATE class declaration
|
2007-06-05 12:10:51 +00:00
|
|
|
*/
|
|
|
|
|
2009-10-27 19:30:32 +00:00
|
|
|
class DIALOG_ANNOTATE: public DIALOG_ANNOTATE_BASE
|
2008-02-26 01:07:38 +00:00
|
|
|
{
|
2009-10-27 19:30:32 +00:00
|
|
|
private:
|
|
|
|
WinEDA_SchematicFrame * m_Parent;
|
|
|
|
wxConfig* m_Config;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
public:
|
2009-10-27 19:30:32 +00:00
|
|
|
DIALOG_ANNOTATE( WinEDA_SchematicFrame* parent );
|
|
|
|
~DIALOG_ANNOTATE(){};
|
2008-04-16 17:21:01 +00:00
|
|
|
|
|
|
|
/// Initialises member variables
|
2009-10-27 19:30:32 +00:00
|
|
|
void InitValues();
|
2008-04-16 17:21:01 +00:00
|
|
|
void OnCancelClick( wxCommandEvent& event );
|
|
|
|
void OnClearAnnotationCmpClick( wxCommandEvent& event );
|
|
|
|
void OnApplyClick( wxCommandEvent& event );
|
|
|
|
|
|
|
|
// User functions:
|
|
|
|
bool GetLevel( void );
|
|
|
|
bool GetResetItems( void );
|
2008-04-21 14:03:20 +00:00
|
|
|
int GetSortOrder( void );
|
2008-02-26 01:07:38 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2008-04-16 17:21:01 +00:00
|
|
|
// _ANNOTATE_DIALOG_H_
|