1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/apps/opencs/view/render/scenewidget.hpp

43 lines
674 B
C++
Raw Normal View History

2013-11-02 02:48:30 +01:00
#ifndef OPENCS_VIEW_SCENEWIDGET_H
#define OPENCS_VIEW_SCENEWIDGET_H
#include <QWidget>
#include <QTimer>
2014-03-23 15:14:26 +01:00
2014-03-26 17:47:56 +01:00
#include "lightingday.hpp"
2014-03-26 17:59:42 +01:00
#include "lightingnight.hpp"
2014-03-26 18:29:15 +01:00
#include "lightingbright.hpp"
2014-03-26 17:47:56 +01:00
#include <osgViewer/Viewer>
2014-03-23 15:14:26 +01:00
namespace CSVWidget
2014-03-23 15:14:26 +01:00
{
class SceneToolMode;
class SceneToolbar;
2013-11-02 02:48:30 +01:00
}
namespace CSVRender
{
class Navigation;
2014-03-23 15:14:26 +01:00
class Lighting;
class SceneWidget : public QWidget, public osgViewer::Viewer
2013-11-02 02:48:30 +01:00
{
Q_OBJECT
public:
SceneWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
2014-03-23 13:40:56 +01:00
virtual void paintEvent( QPaintEvent* event );
void flagAsModified();
protected:
QTimer mTimer;
};
2013-11-02 02:48:30 +01:00
}
#endif