mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 07:24:37 +00:00
16853b79a9
Colour Tester: supports drag-and-drop of image files onto program window. This was SVN commit r2324.
31 lines
623 B
C++
31 lines
623 B
C++
#include "wx/dialog.h"
|
|
|
|
#include "AtlasWindowCommandProc.h"
|
|
#include "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()
|
|
};
|