MGUI::POINT Class Reference

Class to contain X/Y coordinates of a point in a window, on the screen, etc. More...

#include <mgui/layout.h>

List of all members.

Public Member Functions

 POINT (INT16 x, INT16 y)
 POINT ()

Public Attributes

INT16 m_x
INT16 m_y


Detailed Description

Class to contain X/Y coordinates of a point in a window, on the screen, etc.

Often instances of this class are passed by value since the total size is 4 bytes which actually results in smaller and more efficient code in the called function due to direct access on stack rather than through pointer/reference indirection.

Definition at line 1017 of file layout.h.


Constructor & Destructor Documentation

MGUI::POINT::POINT  )  [inline]
 

Default construction, initializes to arbitrary point.

Definition at line 1024 of file layout.h.

MGUI::POINT::POINT INT16  x,
INT16  y
[inline]
 

Construct from X, Y values.

Definition at line 1028 of file layout.h.


Member Data Documentation

INT16 MGUI::POINT::m_x
 

Point X coordinate.

Definition at line 1020 of file layout.h.

INT16 MGUI::POINT::m_y
 

Point Y coordinate.

Definition at line 1021 of file layout.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:00 2004 for TNTsdk by  doxygen 1.3.8-20040913