Ykkrosh
4e83672579
Added modified version of wxJavaScript. Added Atlas script interface. Rewrote the Map sidebar in JS. This was SVN commit r5144.
34 lines
635 B
C++
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
|