kicad/eeschema/dialog_edit_label.h

37 lines
966 B
C++

/////////////////////////////////////////////////////////////////////////////
// Name: dialog_edit_label.h
// Author: jean-pierre Charras
// Modified by:
// Licence: GPL
/////////////////////////////////////////////////////////////////////////////
#ifndef _DIALOG_EDIT_LABEL_H_
#define _DIALOG_EDIT_LABEL_H_
#include "dialog_edit_label_base.h"
class DialogLabelEditor : public DialogLabelEditor_Base
{
private:
WinEDA_SchematicFrame* m_Parent;
SCH_TEXT* m_CurrentText;
wxTextCtrl * m_textLabel;
public:
DialogLabelEditor( WinEDA_SchematicFrame* parent, SCH_TEXT* aTextItem );
~DialogLabelEditor(){};
public:
private:
void InitDialog( );
virtual void OnEnterKey( wxCommandEvent& aEvent );
virtual void OnOkClick( wxCommandEvent& aEvent );
virtual void OnCancelClick( wxCommandEvent& aEvent );
void TextPropertiesAccept( wxCommandEvent& aEvent );
};
#endif // _DIALOG_EDIT_LABEL_H_