40 #ifndef _uinineboxstrategy_h
41 #define _uinineboxstrategy_h
43 #include "UI/mousehoverstrategy.h"
61 NBP_BottomCenter = 128,
This class represents a box shaped area on the screen.
NineBoxPartition PartitionID
An enum value identifying which screen partition this is.
std::vector< Widget * > WidgetContainer
Basic container type for Widget storage by this class.
This is the base class for a method of finding which quad the mouse is hovered over.
~PartitionData()
Class destructor.
PartitionData(const NineBoxPartition &PartID)
Class constructor.
This is used to represent a point on a 2 dimentional area, such as a screen.
This is a helper class for storing metadata for partitions.
NineBoxPartition
Enum describing the different 9-Box partitions of a screen.
Rect PartitionRect
A Rect representing the pixel limits of this screen partition.
The bulk of the engine components go in this namspace.
std::vector< PartitionData * > PartitionVec
Basic container type for PartitionData storage by this class.
WidgetContainer Widgets
A container storing all the quads that overlap with this screen partition.
This strategy partitions the screen into 9 area's that track which Quads are in them, allowing a smaller list of quads to be checked.
PartitionVec Partitions
A container storing all the quads that overlap with this screen partition.