kicad/eeschema/dialog_edit_label.h

37 lines
931 B
C
Raw Normal View History

2007-05-06 16:03:28 +00:00
/////////////////////////////////////////////////////////////////////////////
// Name: dialog_edit_label.h
// Author: jean-pierre Charras
2008-03-20 01:50:21 +00:00
// Modified by:
// Licence: GPL
2007-05-06 16:03:28 +00:00
/////////////////////////////////////////////////////////////////////////////
#ifndef _DIALOG_EDIT_LABEL_H_
#define _DIALOG_EDIT_LABEL_H_
#include "dialog_edit_label_base.h"
2007-05-06 16:03:28 +00:00
class DialogLabelEditor : public DialogLabelEditor_Base
2008-03-20 01:50:21 +00:00
{
private:
WinEDA_SchematicFrame * m_Parent;
2008-03-20 01:50:21 +00:00
SCH_TEXT * m_CurrentText;
wxTextCtrl* m_TextLabel;
2007-05-06 16:03:28 +00:00
2009-12-27 14:01:21 +00:00
public:
DialogLabelEditor( WinEDA_SchematicFrame* parent, SCH_TEXT * CurrentText);
~DialogLabelEditor(){};
public:
private:
2009-12-27 14:01:21 +00:00
void InitDialog( );
void onEnterKey( wxCommandEvent& event );
void OnButtonOKClick( wxCommandEvent& event );
void OnButtonCANCEL_Click( wxCommandEvent& event );
void TextPropertiesAccept( wxCommandEvent& event );
2007-05-06 16:03:28 +00:00
};
#endif // _DIALOG_EDIT_LABEL_H_