1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00
OpenMW/apps/opencs/view/world/regionmapsubview.cpp

18 lines
401 B
C++
Raw Normal View History

#include "regionmapsubview.hpp"
#include "regionmap.hpp"
CSVWorld::RegionMapSubView::RegionMapSubView (CSMWorld::UniversalId universalId,
CSMDoc::Document& document)
: CSVDoc::SubView (universalId)
{
mRegionMap = new RegionMap (universalId, document, this);
setWidget (mRegionMap);
}
void CSVWorld::RegionMapSubView::setEditLock (bool locked)
{
mRegionMap->setEditLock (locked);
}