1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:49:56 +00:00
openmw-tes3mp/apps/openmw/mwgui/controllers.cpp

22 lines
454 B
C++
Raw Normal View History

#include "controllers.hpp"
#include <MyGUI_InputManager.h>
2015-01-10 01:50:43 +00:00
#include <MyGUI_Widget.h>
namespace MWGui
{
namespace Controllers
{
void ControllerFollowMouse::prepareItem(MyGUI::Widget *_widget)
{
}
bool ControllerFollowMouse::addTime(MyGUI::Widget *_widget, float _time)
{
_widget->setPosition(MyGUI::InputManager::getInstance().getMousePosition());
return true;
}
}
}