subclasses scene widget for worldspace scenes

actorid
Marc Zinnschlag 11 years ago
parent 26c2f28879
commit a264e86e13

@ -64,7 +64,7 @@ opencs_units (view/world
)
opencs_units (view/render
scenewidget
scenewidget worldspacewidget
)
opencs_units_noqt (view/render

@ -0,0 +1,6 @@
#include "worldspacewidget.hpp"
CSVRender::WorldspaceWidget::WorldspaceWidget (QWidget *parent)
: SceneWidget (parent)
{}

@ -0,0 +1,18 @@
#ifndef OPENCS_VIEW_WORLDSPACEWIDGET_H
#define OPENCS_VIEW_WORLDSPACEWIDGET_H
#include "scenewidget.hpp"
namespace CSVRender
{
class WorldspaceWidget : public SceneWidget
{
Q_OBJECT
public:
WorldspaceWidget (QWidget *parent = 0);
};
}
#endif

@ -9,7 +9,7 @@
#include "../filter/filterbox.hpp"
#include "../render/scenewidget.hpp"
#include "../render/worldspacewidget.hpp"
#include "tablebottombox.hpp"
#include "creator.hpp"
@ -44,7 +44,7 @@ CSVWorld::SceneSubView::SceneSubView (const CSMWorld::UniversalId& id, CSMDoc::D
layout2->addWidget (toolbar, 0);
mScene = new CSVRender::SceneWidget(this);
mScene = new CSVRender::WorldspaceWidget (this);
layout2->addWidget (mScene, 1);

Loading…
Cancel
Save