forked from teamnwah/openmw-tes3coop
added navigation mode enum to SceneWidget
This commit is contained in:
parent
6ec86564d1
commit
4ec4599be3
2 changed files with 21 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue