MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Mezzanine::UI::MouseHoverCheck Class Reference

Simple functor for finding which renderable the mouse is hovered over. More...

+ Collaboration diagram for Mezzanine::UI::MouseHoverCheck:

Public Member Functions

 MouseHoverCheck (const Vector2 &Pos)
 Class constructor. More...
 
 ~MouseHoverCheck ()
 Class destructor.
 
Boolean 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.
 
WidgetResult
 A pointer to the result if one was found, or NULL if it wasn't.
 

Detailed Description

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.

Constructor & Destructor Documentation

Mezzanine::UI::MouseHoverCheck::MouseHoverCheck ( const Vector2 Pos)
inline

Class constructor.

Parameters
PosThe position on the screen being checked for overlap.

Definition at line 70 of file brutestrategy.cpp.

Member Function Documentation

Boolean Mezzanine::UI::MouseHoverCheck::operator() ( Widget Wid)
inline

Interface needed for processing child widgets of screens and widgets.

Parameters
WidA pointer to the Widget that will be processed.
Returns
Returns true if a valid result is found.

Definition at line 81 of file brutestrategy.cpp.


The documentation for this class was generated from the following file: