mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:19:55 +00:00
18 lines
No EOL
426 B
C++
18 lines
No EOL
426 B
C++
|
|
#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);
|
|
} |