40 #ifndef _uimousehoverstrategy_h
41 #define _uimousehoverstrategy_h
83 virtual Widget* FindHoveredWidget(
const Vector2& MousePos) = 0;
92 { this->ParentScreen = Parent; }
96 { this->ScreenDirty =
true; }
void _NotifyScreenDirty()
Notifies this that it's parent screen was altered.
void _SetScreen(Screen *Parent)
Sets the parent screen.
virtual ~MouseHoverStrategy()
Class destructor.
This is the base class for a method of finding which quad the mouse is hovered over.
This is used to represent a point on a 2 dimentional area, such as a screen.
MouseHoverStrategy()
Class constructor.
bool ScreenDirty
Stores whether or not the parent screen has been updated since the last time this strategys cache was...
The bulk of the engine components go in this namspace.
Screen * ParentScreen
A pointer to the screen this strategy is being used by.
This class is a helper class for creating UI's. It is responsible for storing and keeping track of al...