1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-25 01:00:56 +00:00
openmw/apps/openmw/mwgui/controllers.cpp
2025-08-27 12:45:09 +02:00

19 lines
433 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;
}
}
}