1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 04:45:33 +00:00
openmw-tes3mp/apps/opencs/view/render/instancemode.hpp

44 lines
1 KiB
C++
Raw Normal View History

#ifndef CSV_RENDER_INSTANCEMODE_H
#define CSV_RENDER_INSTANCEMODE_H
#include "editmode.hpp"
2016-01-15 11:07:25 +00:00
namespace CSVWidget
{
class SceneToolMode;
}
namespace CSVRender
{
2016-01-19 11:17:13 +00:00
class InstanceSelectionMode;
class InstanceMode : public EditMode
{
Q_OBJECT
2016-01-15 11:07:25 +00:00
CSVWidget::SceneToolMode *mSubMode;
2016-01-19 11:17:13 +00:00
InstanceSelectionMode *mSelectionMode;
public:
InstanceMode (WorldspaceWidget *worldspaceWidget, QWidget *parent = 0);
2016-01-15 11:07:25 +00:00
virtual void activate (CSVWidget::SceneToolbar *toolbar);
virtual void deactivate (CSVWidget::SceneToolbar *toolbar);
virtual void primaryEditPressed (osg::ref_ptr<TagBase> tag);
virtual void secondaryEditPressed (osg::ref_ptr<TagBase> tag);
virtual void primarySelectPressed (osg::ref_ptr<TagBase> tag);
virtual void secondarySelectPressed (osg::ref_ptr<TagBase> tag);
virtual void dragEnterEvent (QDragEnterEvent *event);
virtual void dropEvent (QDropEvent* event);
};
}
#endif