added navigation mode enum to SceneWidget

This commit is contained in:
Marc Zinnschlag 2014-02-25 12:30:45 +01:00
parent 6ec86564d1
commit 4ec4599be3
2 changed files with 21 additions and 14 deletions

View file

@ -15,7 +15,7 @@ namespace CSVRender
: QWidget(parent)
, mWindow(NULL)
, mCamera(NULL)
, mSceneMgr(NULL)
, mSceneMgr(NULL), mNavigationMode (NavigationMode_Free)
{
setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_NoSystemBackground);

View file

@ -18,6 +18,12 @@ namespace CSVRender
Q_OBJECT
public:
enum NavigationMode
{
NavigationMode_Free
};
SceneWidget(QWidget *parent);
virtual ~SceneWidget(void);
@ -33,8 +39,9 @@ namespace CSVRender
Ogre::Camera* mCamera;
Ogre::SceneManager* mSceneMgr;
Ogre::RenderWindow* mWindow;
};
NavigationMode mNavigationMode;
};
}
#endif