mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-16 07:14:37 +00:00
397a350e45
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.
42 lines
959 B
C++
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__
|