Files
0ad/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.h
T
Ykkrosh 397a350e45 svn:ignore auto-generated test .cpp files.
Territories: Fixed memory leaks.
Atlas: New section-toolbar. Fixed colour of brush grid. Moved open/save
into File menu. Added 3D-ish lighting control. Added 'busy'
notifications.

This was SVN commit r4079.
2006-07-12 14:49:10 +00:00

42 lines
959 B
C++

#ifndef SCENARIOEDITOR_H__
#define SCENARIOEDITOR_H__
#include "General/AtlasWindowCommandProc.h"
#include "SectionLayout.h"
class ScenarioEditor : public wxFrame
{
public:
ScenarioEditor(wxWindow* parent);
void OnClose(wxCloseEvent& event);
void OnTimer(wxTimerEvent& event);
void OnIdle(wxIdleEvent& event);
// void OnNew(wxCommandEvent& event);
void OnOpen(wxCommandEvent& event);
void OnSave(wxCommandEvent& event);
void OnSaveAs(wxCommandEvent& event);
void OnQuit(wxCommandEvent& event);
void OnUndo(wxCommandEvent& event);
void OnRedo(wxCommandEvent& event);
void OnWireframe(wxCommandEvent& event);
void OnMessageTrace(wxCommandEvent& event);
void OnScreenshot(wxCommandEvent& event);
static AtlasWindowCommandProc& GetCommandProc();
private:
wxTimer m_Timer;
SectionLayout m_SectionLayout;
void SetOpenFilename(const wxString& filename);
wxString m_OpenFilename;
DECLARE_EVENT_TABLE();
};
#endif // SCENARIOEDITOR_H__