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

CEGUI::UDim Class Reference

#include <CEGUIUDim.h>

List of all members.

Public Member Functions

 UDim ()
 UDim (float scale, float offset)
 ~UDim ()
float asAbsolute (float base) const
float asRelative (float base) const
UDim operator+ (const UDim &other) const
UDim operator- (const UDim &other) const
UDim operator/ (const UDim &other) const
UDim operator * (const UDim &other) const
const UDimoperator+= (const UDim &other)
const UDimoperator-= (const UDim &other)
const UDimoperator/= (const UDim &other)
const UDimoperator *= (const UDim &other)
bool operator== (const UDim &other) const
bool operator!= (const UDim &other) const

Public Attributes

float d_scale
float d_offset


Detailed Description

Definition at line 38 of file CEGUIUDim.h.


Constructor & Destructor Documentation

CEGUI::UDim::UDim  )  [inline]
 

Definition at line 41 of file CEGUIUDim.h.

CEGUI::UDim::UDim float  scale,
float  offset
[inline]
 

Definition at line 42 of file CEGUIUDim.h.

CEGUI::UDim::~UDim  )  [inline]
 

Definition at line 43 of file CEGUIUDim.h.


Member Function Documentation

float CEGUI::UDim::asAbsolute float  base  )  const [inline]
 

Definition at line 45 of file CEGUIUDim.h.

References PixelAligned.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::UnifiedDim::getValue_impl(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::Window::unifiedToAbsoluteX(), CEGUI::Window::unifiedToAbsoluteY(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY().

float CEGUI::UDim::asRelative float  base  )  const [inline]
 

Definition at line 46 of file CEGUIUDim.h.

Referenced by CEGUI::Window::unifiedToRelativeX(), and CEGUI::Window::unifiedToRelativeY().

UDim CEGUI::UDim::operator * const UDim other  )  const [inline]
 

Definition at line 51 of file CEGUIUDim.h.

References d_offset, and d_scale.

const UDim& CEGUI::UDim::operator *= const UDim other  )  [inline]
 

Definition at line 56 of file CEGUIUDim.h.

References d_offset, and d_scale.

bool CEGUI::UDim::operator!= const UDim other  )  const [inline]
 

Definition at line 59 of file CEGUIUDim.h.

References CEGUI::operator==().

UDim CEGUI::UDim::operator+ const UDim other  )  const [inline]
 

Definition at line 48 of file CEGUIUDim.h.

References d_offset, and d_scale.

const UDim& CEGUI::UDim::operator+= const UDim other  )  [inline]
 

Definition at line 53 of file CEGUIUDim.h.

References d_offset, and d_scale.

UDim CEGUI::UDim::operator- const UDim other  )  const [inline]
 

Definition at line 49 of file CEGUIUDim.h.

References d_offset, and d_scale.

const UDim& CEGUI::UDim::operator-= const UDim other  )  [inline]
 

Definition at line 54 of file CEGUIUDim.h.

References d_offset, and d_scale.

UDim CEGUI::UDim::operator/ const UDim other  )  const [inline]
 

Definition at line 50 of file CEGUIUDim.h.

References d_offset, and d_scale.

const UDim& CEGUI::UDim::operator/= const UDim other  )  [inline]
 

Definition at line 55 of file CEGUIUDim.h.

References d_offset, and d_scale.

bool CEGUI::UDim::operator== const UDim other  )  const [inline]
 

Definition at line 58 of file CEGUIUDim.h.

References d_offset, and d_scale.


Member Data Documentation

float CEGUI::UDim::d_offset
 

Definition at line 61 of file CEGUIUDim.h.

Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), CEGUI::PropertyHelper::stringToUDim(), CEGUI::PropertyHelper::stringToURect(), CEGUI::PropertyHelper::stringToUVector2(), CEGUI::PropertyHelper::udimToString(), CEGUI::PropertyHelper::urectToString(), CEGUI::PropertyHelper::uvector2ToString(), and CEGUI::UnifiedDim::writeXMLElementAttributes_impl().

float CEGUI::UDim::d_scale
 

Definition at line 61 of file CEGUIUDim.h.

Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::onParentSized(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), CEGUI::PropertyHelper::stringToUDim(), CEGUI::PropertyHelper::stringToURect(), CEGUI::PropertyHelper::stringToUVector2(), CEGUI::PropertyHelper::udimToString(), CEGUI::PropertyHelper::urectToString(), CEGUI::PropertyHelper::uvector2ToString(), and CEGUI::UnifiedDim::writeXMLElementAttributes_impl().


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