1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 19:10:24 +00:00
OpenMW/apps/opencs/view/render/instancemovemode.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
503 B
C++
Raw Normal View History

2016-02-16 15:02:29 +00:00
#include "instancemovemode.hpp"
2022-10-19 17:02:00 +00:00
#include <QIcon>
#include <QPixmap>
#include <apps/opencs/view/widget/modebutton.hpp>
class QWidget;
2016-02-16 15:02:29 +00:00
CSVRender::InstanceMoveMode::InstanceMoveMode(QWidget* parent)
2018-04-15 09:35:45 +00:00
: ModeButton(QIcon(QPixmap(":scenetoolbar/transform-move")),
2016-02-16 15:02:29 +00:00
"Move selected instances"
"<ul><li>Use {scene-edit-primary} to move instances around freely</li>"
"<li>Use {scene-edit-secondary} to move instances around within the grid</li>"
"</ul>",
2016-02-16 15:02:29 +00:00
parent)
{
}