mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 16:23:52 +00:00
28 lines
666 B
C++
28 lines
666 B
C++
#include "editmode.hpp"
|
|
|
|
#include "worldspacewidget.hpp"
|
|
|
|
CSVRender::EditMode::EditMode (WorldspaceWidget *worldspaceWidget, const QIcon& icon,
|
|
unsigned int mask, const QString& tooltip, QWidget *parent)
|
|
: ModeButton (icon, tooltip, parent), mWorldspaceWidget (worldspaceWidget), mMask (mask)
|
|
{}
|
|
|
|
unsigned int CSVRender::EditMode::getInteractionMask() const
|
|
{
|
|
return mMask;
|
|
}
|
|
|
|
void CSVRender::EditMode::activate (CSVWidget::SceneToolbar *toolbar)
|
|
{
|
|
mWorldspaceWidget->setInteractionMask (mMask);
|
|
}
|
|
|
|
void CSVRender::EditMode::updateUserSetting (const QString& name, const QStringList& value)
|
|
{
|
|
|
|
}
|
|
|
|
void CSVRender::EditMode::setEditLock (bool locked)
|
|
{
|
|
|
|
}
|