Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Protected Attributes | List of all members
Mezzanine::UI::NineBoxCheck Class Reference

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

#include <nineboxstrategy.cpp>

+ Collaboration diagram for Mezzanine::UI::NineBoxCheck:

Public Member Functions

 NineBoxCheck (NineBoxStrategy::PartitionVec *StratPartitions)
 Functor constructor. More...
 
 ~NineBoxCheck ()
 Class destructor.
 
Boole operator() (Widget *Wid)
 Interface needed for processing child widgets of screens and widgets. More...
 

Protected Attributes

NineBoxStrategy::PartitionVecPartitions
 A pointer to the Vector of 9 partitions on the screen to use for spacial checks.
 

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 nineboxstrategy.cpp.

Constructor & Destructor Documentation

Mezzanine::UI::NineBoxCheck::NineBoxCheck ( NineBoxStrategy::PartitionVec StratPartitions)
inline

Functor constructor.

Parameters
StratPartitionsA pointer to the Vector of 9 partitions on the screen to use for spacial checks.

Definition at line 68 of file nineboxstrategy.cpp.

Member Function Documentation

Boole Mezzanine::UI::NineBoxCheck::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 78 of file nineboxstrategy.cpp.


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