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

18 lines
426 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 (document.getData().getTableModel (universalId), this);
setWidget (mRegionMap);
}
void CSVWorld::RegionMapSubView::setEditLock (bool locked)
{
mRegionMap->setEditLock (locked);
}