mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
34 lines
624 B
C++
34 lines
624 B
C++
#ifndef OENGINE_MYGUI_MANAGER_H
|
|
#define OENGINE_MYGUI_MANAGER_H
|
|
|
|
namespace MyGUI
|
|
{
|
|
class OgrePlatform;
|
|
class Gui;
|
|
}
|
|
|
|
namespace Ogre
|
|
{
|
|
class RenderWindow;
|
|
class SceneManager;
|
|
}
|
|
|
|
namespace GUI
|
|
{
|
|
class MyGUIManager
|
|
{
|
|
MyGUI::OgrePlatform *mPlatform;
|
|
MyGUI::Gui *mGui;
|
|
|
|
public:
|
|
MyGUIManager() : mPlatform(NULL), mGui(NULL) {}
|
|
MyGUIManager(Ogre::RenderWindow *wnd, Ogre::SceneManager *mgr, bool logging=false)
|
|
{ setup(wnd,mgr,logging); }
|
|
~MyGUIManager() { shutdown(); }
|
|
|
|
void setup(Ogre::RenderWindow *wnd, Ogre::SceneManager *mgr, bool logging=false);
|
|
void shutdown();
|
|
};
|
|
}
|
|
#endif
|