mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
added accessor function for cell selection in paged worldspace
This commit is contained in:
parent
5b9d6cce98
commit
6eba647a9d
@ -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…
x
Reference in New Issue
Block a user