mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
28 lines
631 B
C++
28 lines
631 B
C++
#ifndef CSV_RENDER_EDITMODE_H
|
|
#define CSV_RENDER_EDITMODE_H
|
|
|
|
#include "../widget/modebutton.hpp"
|
|
|
|
namespace CSVRender
|
|
{
|
|
class WorldspaceWidget;
|
|
|
|
class EditMode : public CSVWidget::ModeButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
WorldspaceWidget *mWorldspaceWidget;
|
|
unsigned int mMask;
|
|
|
|
public:
|
|
|
|
EditMode (WorldspaceWidget *worldspaceWidget, const QIcon& icon, unsigned int mask,
|
|
const QString& tooltip = "", QWidget *parent = 0);
|
|
|
|
unsigned int getInteractionMask() const;
|
|
|
|
virtual void activate (CSVWidget::SceneToolbar *toolbar);
|
|
};
|
|
}
|
|
|
|
#endif
|