2015-12-11 02:37:54 +00:00
|
|
|
#include "Space.hpp"
|
2015-12-12 00:37:32 +00:00
|
|
|
#include "ViewManager.hpp"
|
2015-12-11 02:37:54 +00:00
|
|
|
|
|
|
|
namespace RUDE
|
|
|
|
{
|
|
|
|
|
2015-12-12 00:37:32 +00:00
|
|
|
Specter::Space* Space::buildSpace(Specter::ViewResources& res)
|
|
|
|
{
|
|
|
|
m_space.reset(new Specter::Space(res, m_vm.rootView(), Specter::Toolbar::Position::Bottom));
|
|
|
|
return m_space.get();
|
|
|
|
}
|
|
|
|
|
|
|
|
Specter::View* SplitSpace::buildContent(Specter::ViewResources& res)
|
|
|
|
{
|
|
|
|
m_splitView.reset(new Specter::SplitView(res, m_vm.rootView(), Specter::SplitView::Axis::Horizontal));
|
|
|
|
return m_splitView.get();
|
|
|
|
}
|
2015-12-11 02:37:54 +00:00
|
|
|
|
|
|
|
}
|