mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
f72956b918
- removed OEngine::ExitListener (what a terrible abuse of framelisteners)
21 lines
739 B
C++
21 lines
739 B
C++
#include "cursorreplace.hpp"
|
|
|
|
#include <boost/filesystem.hpp>
|
|
#include <openengine/ogre/imagerotate.hpp>
|
|
#include <openengine/ogre/atlas.hpp>
|
|
|
|
#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);
|
|
|
|
OEngine::Render::Atlas::createFromFile("atlas1.cfg", "mwgui1", "textures\\");
|
|
OEngine::Render::Atlas::createFromFile("mainmenu.cfg", "mwgui2", "textures\\");
|
|
}
|