2010-11-19 16:28:46 +00:00
|
|
|
|
|
|
|
#ifndef _DIALOG_EESCHEMA_CONFIG_H_
|
|
|
|
#define _DIALOG_EESCHEMA_CONFIG_H_
|
|
|
|
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_eeschema_config_fbp.h>
|
2010-11-19 16:28:46 +00:00
|
|
|
|
|
|
|
|
2010-12-08 20:12:46 +00:00
|
|
|
class SCH_EDIT_FRAME;
|
2011-01-21 19:30:59 +00:00
|
|
|
class EDA_DRAW_FRAME;
|
2010-11-19 16:28:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
class DIALOG_EESCHEMA_CONFIG : public DIALOG_EESCHEMA_CONFIG_FBP
|
|
|
|
{
|
|
|
|
private:
|
2010-12-08 20:12:46 +00:00
|
|
|
SCH_EDIT_FRAME* m_Parent;
|
2010-11-19 16:28:46 +00:00
|
|
|
bool m_LibListChanged;
|
|
|
|
bool m_LibPathChanged;
|
|
|
|
wxString m_UserLibDirBufferImg; // Copy of original g_UserLibDirBuffer
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
// event handlers, overiding the fbp handlers
|
|
|
|
void Init();
|
|
|
|
void OnCloseWindow( wxCloseEvent& event );
|
|
|
|
void OnRemoveLibClick( wxCommandEvent& event );
|
|
|
|
void OnAddOrInsertLibClick( wxCommandEvent& event );
|
|
|
|
void OnAddOrInsertPath( wxCommandEvent& event );
|
2012-01-23 04:33:36 +00:00
|
|
|
void OnOkClick( wxCommandEvent& event );
|
|
|
|
void OnCancelClick( wxCommandEvent& event );
|
2010-11-19 16:28:46 +00:00
|
|
|
void OnRemoveUserPath( wxCommandEvent& event );
|
2012-01-23 04:33:36 +00:00
|
|
|
void OnButtonUpClick( wxCommandEvent& event );
|
|
|
|
void OnButtonDownClick( wxCommandEvent& event );
|
2010-11-19 16:28:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
2011-01-21 19:30:59 +00:00
|
|
|
DIALOG_EESCHEMA_CONFIG( SCH_EDIT_FRAME* parent, EDA_DRAW_FRAME* activeWindow );
|
2010-11-19 16:28:46 +00:00
|
|
|
~DIALOG_EESCHEMA_CONFIG() {};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _DIALOG_EESCHEMA_CONFIG_H_
|