openmw-tes3coop/apps/opencs/view/render/scenewidget.hpp

42 lines
674 B
C++

#ifndef OPENCS_VIEW_SCENEWIDGET_H
#define OPENCS_VIEW_SCENEWIDGET_H
#include <QWidget>
#include <QTimer>
#include "lightingday.hpp"
#include "lightingnight.hpp"
#include "lightingbright.hpp"
#include <osgViewer/Viewer>
namespace CSVWidget
{
class SceneToolMode;
class SceneToolbar;
}
namespace CSVRender
{
class Navigation;
class Lighting;
class SceneWidget : public QWidget, public osgViewer::Viewer
{
Q_OBJECT
public:
SceneWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
virtual void paintEvent( QPaintEvent* event );
void flagAsModified();
protected:
QTimer mTimer;
};
}
#endif