Simple functor for finding which renderable the mouse is hovered over. More...
Public Member Functions | |
MouseHoverCheck (const Vector2 &Pos) | |
Class constructor. More... | |
~MouseHoverCheck () | |
Class destructor. | |
Boole | operator() (Widget *Wid) |
Interface needed for processing child widgets of screens and widgets. More... | |
Public Attributes | |
Vector2 | MousePos |
The current mouse position to be checked for hover. | |
Widget * | Result |
A pointer to the result if one was found, or NULL if it wasn't. | |
Simple functor for finding which renderable the mouse is hovered over.
This is intended for reverse checks.
Definition at line 60 of file brutestrategy.cpp.
|
inline |
Class constructor.
Pos | The position on the screen being checked for overlap. |
Definition at line 70 of file brutestrategy.cpp.
Interface needed for processing child widgets of screens and widgets.
Wid | A pointer to the Widget that will be processed. |
Definition at line 81 of file brutestrategy.cpp.