1
0
forked from 0ad/0ad
0ad/source/tools/atlas/AtlasUI/ScenarioEditor/SectionLayout.h
olsner db045c330b # Made Atlas compile on linux
graphics: basic terrain passibility
atlas: lots of changes to make atlas compile under linux
unix/X: more clipboard support - copy from 0AD to other programs
unix/debug: use sys_get_executable_name instead of hard-coded paths
... and lots of other misc. changes

This was SVN commit r4640.
2006-11-12 04:02:36 +00:00

33 lines
583 B
C++

#ifndef SECTIONLAYOUT_H__
#define SECTIONLAYOUT_H__
#include <map>
#include <string>
class SnapSplitterWindow;
class SidebarBook;
class wxWindow;
class SectionLayout
{
public:
SectionLayout();
~SectionLayout();
void SetWindow(wxWindow* window);
wxWindow* GetCanvasParent();
void SetCanvas(wxWindow*);
void Build();
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 // SECTIONLAYOUT_H__