2012-04-12 12:26:21 +00:00
|
|
|
#include "cursorreplace.hpp"
|
|
|
|
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
#include <openengine/ogre/imagerotate.hpp>
|
2012-05-04 16:09:45 +00:00
|
|
|
#include <openengine/ogre/atlas.hpp>
|
2012-04-12 12:26:21 +00:00
|
|
|
|
|
|
|
#include <OgreResourceGroupManager.h>
|
|
|
|
#include <OgreRoot.h>
|
|
|
|
|
|
|
|
using namespace MWGui;
|
|
|
|
|
|
|
|
CursorReplace::CursorReplace()
|
|
|
|
{
|
|
|
|
OEngine::Render::ImageRotate::rotate("textures\\tx_cursormove.dds", "mwpointer_vresize.png", 90);
|
|
|
|
OEngine::Render::ImageRotate::rotate("textures\\tx_cursormove.dds", "mwpointer_dresize1.png", -45);
|
|
|
|
OEngine::Render::ImageRotate::rotate("textures\\tx_cursormove.dds", "mwpointer_dresize2.png", 45);
|
2012-05-04 16:09:45 +00:00
|
|
|
|
|
|
|
OEngine::Render::Atlas::createFromFile("atlas1.cfg", "mwgui1", "textures\\");
|
2012-04-12 12:26:21 +00:00
|
|
|
}
|