0ad/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.h
Ykkrosh aa118403bb Terrain: CalcFromPosition, to convert world-space to tile-space.
ScEd: Compilation fixes.
Atlas: Screen-space to world-space conversion when editing terrain.
Wireframe option. Minor wxWidgets 2.6.1 fixes. AoE3Ed.

This was SVN commit r2698.
2005-09-12 20:04:26 +00:00

28 lines
575 B
C++

#ifndef SCENARIOEDITOR_H__
#define SCENARIOEDITOR_H__
#include "General/AtlasWindowCommandProc.h"
class ScenarioEditor : public wxFrame
{
public:
ScenarioEditor(wxWindow* parent);
void OnClose(wxCloseEvent& event);
void OnTimer(wxTimerEvent& event);
void OnQuit(wxCommandEvent& event);
void OnUndo(wxCommandEvent& event);
void OnRedo(wxCommandEvent& event);
void OnWireframe(wxCommandEvent& event);
static AtlasWindowCommandProc& GetCommandProc();
private:
wxTimer m_Timer;
DECLARE_EVENT_TABLE();
};
#endif // SCENARIOEDITOR_H__