mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-09 13:00:56 +00:00
19 lines
437 B
C++
19 lines
437 B
C++
#include "controllers.hpp"
|
|
|
|
#include <MyGUI_InputManager.h>
|
|
#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;
|
|
}
|
|
|
|
}
|
|
}
|