Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CEGUI::URect Class Reference

#include <CEGUIUDim.h>

Collaboration diagram for CEGUI::URect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 URect ()
 URect (const UVector2 &min, const UVector2 &max)
 URect (const UDim &left, const UDim &top, const UDim &right, const UDim &bottom)
 ~URect ()
Rect asAbsolute (const Size &base) const
Rect asRelative (const Size &base) const
const UVector2getPosition () const
UVector2 getSize () const
UDim getWidth () const
UDim getHeight () const
void setPosition (const UVector2 &pos)
void setSize (const UVector2 &sz)
void setWidth (const UDim &w)
void setHeight (const UDim &h)
void offset (const UVector2 &sz)

Public Attributes

UVector2 d_min
UVector2 d_max

Detailed Description

Definition at line 92 of file CEGUIUDim.h.


Constructor & Destructor Documentation

CEGUI::URect::URect  )  [inline]
 

Definition at line 95 of file CEGUIUDim.h.

CEGUI::URect::URect const UVector2 min,
const UVector2 max
[inline]
 

Definition at line 97 of file CEGUIUDim.h.

CEGUI::URect::URect const UDim left,
const UDim top,
const UDim right,
const UDim bottom
[inline]
 

Definition at line 99 of file CEGUIUDim.h.

CEGUI::URect::~URect  )  [inline]
 

Definition at line 107 of file CEGUIUDim.h.


Member Function Documentation

Rect CEGUI::URect::asAbsolute const Size base  )  const [inline]
 

Definition at line 109 of file CEGUIUDim.h.

References CEGUI::Size::d_height, and CEGUI::Size::d_width.

Referenced by CEGUI::MouseCursor::getConstraintArea(), CEGUI::ComponentArea::getPixelRect(), CEGUI::Window::screenToWindow(), CEGUI::Window::unifiedToAbsolute(), and CEGUI::Window::windowToScreen().

Rect CEGUI::URect::asRelative const Size base  )  const [inline]
 

Definition at line 119 of file CEGUIUDim.h.

References CEGUI::Size::d_height, and CEGUI::Size::d_width.

Referenced by CEGUI::Window::unifiedToRelative().

UDim CEGUI::URect::getHeight void   )  const [inline]
 

Definition at line 132 of file CEGUIUDim.h.

const UVector2& CEGUI::URect::getPosition void   )  const [inline]
 

Definition at line 129 of file CEGUIUDim.h.

Referenced by CEGUI::FrameWindow::offsetPixelPosition(), CEGUI::Window::onParentSized(), CEGUI::Window::setWindowHeight(), CEGUI::Window::setWindowSize(), and CEGUI::Window::setWindowWidth().

UVector2 CEGUI::URect::getSize void   )  const [inline]
 

Definition at line 130 of file CEGUIUDim.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getWindowHeight(), CEGUI::Window::getWindowSize(), CEGUI::Window::getWindowWidth(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::onParentSized(), CEGUI::Window::setWindowArea(), CEGUI::Window::setWindowHeight(), CEGUI::Window::setWindowPosition(), CEGUI::Window::setWindowWidth(), CEGUI::Window::setWindowXPosition(), and CEGUI::Window::setWindowYPosition().

UDim CEGUI::URect::getWidth void   )  const [inline]
 

Definition at line 131 of file CEGUIUDim.h.

void CEGUI::URect::offset const UVector2 sz  )  [inline]
 

Definition at line 149 of file CEGUIUDim.h.

void CEGUI::URect::setHeight const UDim h  )  [inline]
 

Definition at line 147 of file CEGUIUDim.h.

void CEGUI::URect::setPosition const UVector2 pos  )  [inline]
 

Definition at line 134 of file CEGUIUDim.h.

Referenced by CEGUI::Window::setWindowArea_impl().

void CEGUI::URect::setSize const UVector2 sz  )  [inline]
 

Definition at line 141 of file CEGUIUDim.h.

Referenced by CEGUI::Window::setWindowArea_impl().

void CEGUI::URect::setWidth const UDim w  )  [inline]
 

Definition at line 146 of file CEGUIUDim.h.

References CEGUI::UVector2::d_x.


Member Data Documentation

UVector2 CEGUI::URect::d_max
 

Definition at line 155 of file CEGUIUDim.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::onParentSized(), CEGUI::MouseCursor::setConstraintArea(), CEGUI::MouseCursor::setUnifiedConstraintArea(), CEGUI::PropertyHelper::stringToURect(), and CEGUI::PropertyHelper::urectToString().

UVector2 CEGUI::URect::d_min
 

Definition at line 155 of file CEGUIUDim.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getWindowPosition(), CEGUI::Window::getWindowXPosition(), CEGUI::Window::getWindowYPosition(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::onParentSized(), CEGUI::MouseCursor::setConstraintArea(), CEGUI::MouseCursor::setUnifiedConstraintArea(), CEGUI::Window::setWindowArea(), CEGUI::Window::setWindowArea_impl(), CEGUI::Window::setWindowXPosition(), CEGUI::Window::setWindowYPosition(), CEGUI::PropertyHelper::stringToURect(), and CEGUI::PropertyHelper::urectToString().


The documentation for this class was generated from the following file:
Generated on Wed Sep 7 10:07:38 2005 for Crazy Eddies GUI System by  doxygen 1.4.3