mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 09:15:33 +00:00
added accessor function for cell selection in paged worldspace
This commit is contained in:
parent
5b9d6cce98
commit
6eba647a9d
2 changed files with 7 additions and 0 deletions
|
@ -432,6 +432,11 @@ void CSVRender::PagedWorldspaceWidget::setCellSelection (const CSMWorld::CellSel
|
|||
emit cellSelectionChanged (mSelection);
|
||||
}
|
||||
|
||||
const CSMWorld::CellSelection& CSVRender::PagedWorldspaceWidget::getCellSelection() const
|
||||
{
|
||||
return mSelection;
|
||||
}
|
||||
|
||||
std::pair< int, int > CSVRender::PagedWorldspaceWidget::getCoordinatesFromId (const std::string& record) const
|
||||
{
|
||||
std::istringstream stream (record.c_str());
|
||||
|
|
|
@ -80,6 +80,8 @@ namespace CSVRender
|
|||
|
||||
void setCellSelection(const CSMWorld::CellSelection& selection);
|
||||
|
||||
const CSMWorld::CellSelection& getCellSelection() const;
|
||||
|
||||
/// \return Drop handled?
|
||||
virtual bool handleDrop (const std::vector<CSMWorld::UniversalId>& data,
|
||||
DropType type);
|
||||
|
|
Loading…
Reference in a new issue