0ad/source/tools/atlas/AtlasUI/ScenarioEditor/SectionLayout.h
Ykkrosh 4e83672579 # Added scripting support to the scenario editor UI
Added modified version of wxJavaScript.
Added Atlas script interface.
Rewrote the Map sidebar in JS.

This was SVN commit r5144.
2007-06-05 18:16:55 +00:00

34 lines
635 B
C++

#ifndef INCLUDED_SECTIONLAYOUT
#define INCLUDED_SECTIONLAYOUT
#include <map>
#include <string>
class ScenarioEditor;
class SnapSplitterWindow;
class SidebarBook;
class wxWindow;
class SectionLayout
{
public:
SectionLayout();
~SectionLayout();
void SetWindow(wxWindow* window);
wxWindow* GetCanvasParent();
void SetCanvas(wxWindow*);
void Build(ScenarioEditor&);
void SelectPage(const wxString& classname);
private:
SidebarBook* m_SidebarBook;
wxWindow* m_Canvas;
SnapSplitterWindow* m_HorizSplitter;
SnapSplitterWindow* m_VertSplitter;
std::map<std::wstring, int> m_PageMappings;
};
#endif // INCLUDED_SECTIONLAYOUT