0ad/source/tools/atlas/AtlasUI/CustomControls/Windows/AtlasWindow.h
Ykkrosh d0146135c4 Initial Actor Editor code
This was SVN commit r2025.
2005-03-19 22:29:32 +00:00

38 lines
844 B
C++

#include "AtlasWindowCommandProc.h"
#include "IAtlasExporter.h"
#include "wx/frame.h"
class AtObj;
class AtlasWindow : public wxFrame, public IAtlasExporter
{
friend class AtlasWindowCommandProc;
DECLARE_CLASS(AtlasWindow);
public:
AtlasWindow(wxWindow* parent, const wxString& title, const wxSize& size);
void OnQuit(wxCommandEvent& event);
void OnImport(wxCommandEvent& event);
void OnExport(wxCommandEvent& event);
void OnUndo(wxCommandEvent& event);
void OnRedo(wxCommandEvent& event);
protected:
// Call with the name of the currently opened file, or with the
// empty string for new unnamed documents
void SetDisplayedFilename(wxString filename);
private:
AtlasWindowCommandProc m_CommandProc;
wxString m_DisplayedFilename;
wxString m_WindowTitle;
DECLARE_EVENT_TABLE();
};