forked from 0ad/0ad
Ykkrosh
a1a7dac59c
ObjectManager: Removed ObjectTypes because it hasn't been used for years. Atlas: Fixed leak when saving with Xerces. Changed range of water shininess slider. Actor Editor: Relabelled "Freq" to "Ratio". Made modal dialogs use the correct parent. This was SVN commit r4376.
36 lines
685 B
C++
36 lines
685 B
C++
#ifndef ATLASDIALOG_H__
|
|
#define ATLASDIALOG_H__
|
|
|
|
#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()
|
|
};
|
|
|
|
#endif // ATLASDIALOG_H__
|