This strategy uses a brute force reverse search for the hovered quad. More...
#include <brutestrategy.h>
Public Member Functions | |
BruteStrategy () | |
Class constructor. | |
virtual | ~BruteStrategy () |
Class destructor. | |
Widget * | FindHoveredWidget (const Vector2 &MousePos) |
Finds the hovered quad for the parent screen. More... | |
Public Member Functions inherited from Mezzanine::UI::MouseHoverStrategy | |
MouseHoverStrategy () | |
Class constructor. | |
virtual | ~MouseHoverStrategy () |
Class destructor. | |
void | _NotifyScreenDirty () |
Notifies this that it's parent screen was altered. More... | |
void | _SetScreen (Screen *Parent) |
Sets the parent screen. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Mezzanine::UI::MouseHoverStrategy | |
Screen * | ParentScreen |
A pointer to the screen this strategy is being used by. More... | |
bool | ScreenDirty |
Stores whether or not the parent screen has been updated since the last time this strategys cache was updated. More... | |
This strategy uses a brute force reverse search for the hovered quad.
Definition at line 55 of file brutestrategy.h.
Finds the hovered quad for the parent screen.
MousePos | The current mouse position. |
Implements Mezzanine::UI::MouseHoverStrategy.
Definition at line 100 of file brutestrategy.cpp.