forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
984 B
C++
55 lines
984 B
C++
#ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
|
|
#define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
|
|
|
|
#include <string>
|
|
|
|
namespace osgViewer
|
|
{
|
|
class Viewer;
|
|
}
|
|
namespace osg
|
|
{
|
|
class Group;
|
|
}
|
|
namespace Resource
|
|
{
|
|
class TextureManager;
|
|
}
|
|
namespace MyGUI
|
|
{
|
|
class LogManager;
|
|
}
|
|
|
|
namespace osgMyGUI
|
|
{
|
|
|
|
class RenderManager;
|
|
class DataManager;
|
|
class LogFacility;
|
|
|
|
class Platform
|
|
{
|
|
public:
|
|
Platform(osgViewer::Viewer* viewer, osg::Group* guiRoot, Resource::TextureManager* textureManager, float uiScalingFactor);
|
|
|
|
~Platform();
|
|
|
|
void initialise(const std::string& resourcePath, const std::string& _logName = "MyGUI.log");
|
|
|
|
void shutdown();
|
|
|
|
RenderManager* getRenderManagerPtr();
|
|
|
|
DataManager* getDataManagerPtr();
|
|
|
|
private:
|
|
RenderManager* mRenderManager;
|
|
DataManager* mDataManager;
|
|
MyGUI::LogManager* mLogManager;
|
|
LogFacility* mLogFacility;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|