1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 10:15:38 +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.

21 lines
558 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>
2024-04-25 07:57:43 +00:00
#include <components/misc/scalableicon.hpp>
2022-10-19 17:02:00 +00:00
class QWidget;
2016-02-16 15:02:29 +00:00
CSVRender::InstanceMoveMode::InstanceMoveMode(QWidget* parent)
2024-04-25 07:57:43 +00:00
: ModeButton(Misc::ScalableIcon::load(":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)
{
}