2007-05-07 09:33:24 -07:00
|
|
|
#ifndef INCLUDED_ATLASDIALOG
|
|
|
|
|
#define INCLUDED_ATLASDIALOG
|
2006-09-22 10:43:00 -07:00
|
|
|
|
2006-04-23 16:14:18 -07:00
|
|
|
#include "wx/dialog.h"
|
|
|
|
|
|
|
|
|
|
#include "General/AtlasWindowCommandProc.h"
|
|
|
|
|
#include "General/IAtlasSerialiser.h"
|
|
|
|
|
|
|
|
|
|
class FieldEditCtrl_Dialog;
|
|
|
|
|
|
|
|
|
|
class AtlasDialog : public wxDialog, public IAtlasSerialiser
|
|
|
|
|
{
|
|
|
|
|
friend class FieldEditCtrl_Dialog;
|
|
|
|
|
friend class AtlasWindowCommandProc;
|
|
|
|
|
|
|
|
|
|
DECLARE_CLASS(AtlasDialog);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
AtlasDialog(wxWindow* parent, const wxString& title, const wxSize& size);
|
|
|
|
|
virtual ~AtlasDialog() {}
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void OnUndo(wxCommandEvent& event);
|
|
|
|
|
void OnRedo(wxCommandEvent& event);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
wxPanel* m_MainPanel;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
AtlasWindowCommandProc m_CommandProc;
|
|
|
|
|
|
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
|
};
|
2006-09-22 10:43:00 -07:00
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#endif // INCLUDED_ATLASDIALOG
|