dtABC::WinRect Struct Reference

WinRect struct for passing window dimensions. More...

#include <widget.h>

Inheritance diagram for dtABC::WinRect:

dtABC::WinData

List of all members.

Public Member Functions

 WinRect (int x=0, int y=0, int w=640L, int h=480L)
 window height
 WinRect (const WinRect &that)
 Copy Constructor.
WinRectoperator= (const WinRect &that)
 Copy Operator.

Public Attributes

int pos_x
int pos_y
 window x position
int width
 window y position
int height
 window width


Detailed Description

WinRect struct for passing window dimensions.

Constructor & Destructor Documentation

WinRect::WinRect ( int  x = 0,
int  y = 0,
int  w = 640L,
int  h = 480L 
)

window height

Helper struct constructors.

Default Constructor.

Parameters:
x horizontal position
y vertical position
w width
h height

WinRect::WinRect ( const WinRect that  ) 

Copy Constructor.

Parameters:
that object to copy from


Member Function Documentation

WinRect & WinRect::operator= ( const WinRect that  ) 

Copy Operator.

Parameters:
that object to copy from
Returns:
a reference to this object


Member Data Documentation

int dtABC::WinRect::pos_x

int dtABC::WinRect::pos_y

window x position

int dtABC::WinRect::width

window y position

int dtABC::WinRect::height

window width


http://www.delta3d.org
2.0.0 generated 14 Feb 2008