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

ONE::gui::Size Struct Reference

List of all members.

Detailed Description

a Component 's width and height

If not noted otherwise, the dimensions are measured in pixels on screen at the current resolution.

Author:
Daniel Seibert


Public Member Functions

bool isZero () const
bool operator!= (const Size &s) const
Size operator+ (const Size &s) const
Sizeoperator+= (const Size &s)
Size operator- (const Size &s) const
Sizeoperator-= (const Size &s)
bool operator== (const Size &s) const
 Size (const Point &)
 Size (const int &w=0, const int &h=0)

Public Attributes

int height
int width


Constructor & Destructor Documentation

ONE::gui::Size::Size const int &  w = 0,
const int &  h = 0
 

ONE::gui::Size::Size const Point  ) 
 


Member Function Documentation

bool ONE::gui::Size::isZero  )  const [inline]
 

bool ONE::gui::Size::operator!= const Size s  )  const [inline]
 

Size ONE::gui::Size::operator+ const Size s  )  const [inline]
 

Size & ONE::gui::Size::operator+= const Size s  )  [inline]
 

Size ONE::gui::Size::operator- const Size s  )  const [inline]
 

Size & ONE::gui::Size::operator-= const Size s  )  [inline]
 

bool ONE::gui::Size::operator== const Size s  )  const [inline]
 


Member Data Documentation

int ONE::gui::Size::height
 

int ONE::gui::Size::width
 


Generated on Wed Sep 7 19:03:19 2005 for ONEngine by  doxygen 1.4.3