1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 21:32:42 +00:00
OpenMW/apps/openmw/mwgui/controllers.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
528 B
C++
Raw Normal View History

#ifndef MWGUI_CONTROLLERS_H
#define MWGUI_CONTROLLERS_H
#include <MyGUI_ControllerItem.h>
2015-01-10 02:50:43 +01:00
#include <string>
2015-01-10 02:50:43 +01:00
namespace MyGUI
{
class Widget;
}
namespace MWGui::Controllers
2022-09-22 21:26:05 +03:00
{
/// Automatically positions a widget below the mouse cursor.
class ControllerFollowMouse final : public MyGUI::ControllerItem
{
MYGUI_RTTI_DERIVED(ControllerFollowMouse)
private:
bool addTime(MyGUI::Widget* _widget, float _time) override;
void prepareItem(MyGUI::Widget* _widget) override;
};
}
#endif