This is the base class for a method of finding which quad the mouse is hovered over. More...
#include <mousehoverstrategy.h>
Inheritance diagram for Mezzanine::UI::MouseHoverStrategy:
Collaboration diagram for Mezzanine::UI::MouseHoverStrategy:Public Member Functions | |
| 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... | |
| virtual Widget * | FindHoveredWidget (const Vector2 &MousePos)=0 |
| Finds the hovered quad for the parent screen. More... | |
Protected Attributes | |
| 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 is the base class for a method of finding which quad the mouse is hovered over.
Definition at line 58 of file mousehoverstrategy.h.
|
inline |
Notifies this that it's parent screen was altered.
Definition at line 95 of file mousehoverstrategy.h.
|
inline |
Sets the parent screen.
| Parent | The parent screen this strategy is finding the hovered quad for. |
Definition at line 91 of file mousehoverstrategy.h.
|
pure virtual |
Finds the hovered quad for the parent screen.
| MousePos | The current mouse position. |
Implemented in Mezzanine::UI::NineBoxStrategy, and Mezzanine::UI::BruteStrategy.
|
protected |
A pointer to the screen this strategy is being used by.
Definition at line 63 of file mousehoverstrategy.h.
|
protected |
Stores whether or not the parent screen has been updated since the last time this strategys cache was updated.
Definition at line 66 of file mousehoverstrategy.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.