Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CPos Class Reference

Made to represent screen positions and delta values. More...

#include <Overlay.h>

Public Member Functions

 CPos ()
 
 CPos (const CSize &pos)
 
 CPos (const float &_x, const float &_y)
 
CPosoperator= (const CPos &a)
 
bool operator== (const CPos &a) const
 
bool operator!= (const CPos &a) const
 
CPos operator- (void) const
 
CPos operator+ (void) const
 
CPos operator+ (const CPos &a) const
 
CPos operator+ (const CSize &a) const
 
CPos operator- (const CPos &a) const
 
CPos operator- (const CSize &a) const
 
void operator+= (const CPos &a)
 
void operator+= (const CSize &a)
 
void operator-= (const CPos &a)
 
void operator-= (const CSize &a)
 

Public Attributes

float x
 Position. More...
 
float y
 

Detailed Description

Made to represent screen positions and delta values.

See Also
CRect
CSize

Definition at line 167 of file Overlay.h.

Constructor & Destructor Documentation

CPos::CPos ( )

Definition at line 287 of file Overlay.cpp.

CPos::CPos ( const CSize pos)

Definition at line 291 of file Overlay.cpp.

CPos::CPos ( const float &  _x,
const float &  _y 
)

Definition at line 295 of file Overlay.cpp.

Member Function Documentation

bool CPos::operator!= ( const CPos a) const

Definition at line 314 of file Overlay.cpp.

CPos CPos::operator+ ( void  ) const

Definition at line 326 of file Overlay.cpp.

CPos CPos::operator+ ( const CPos a) const

Definition at line 332 of file Overlay.cpp.

CPos CPos::operator+ ( const CSize a) const

Definition at line 338 of file Overlay.cpp.

void CPos::operator+= ( const CPos a)

Definition at line 356 of file Overlay.cpp.

void CPos::operator+= ( const CSize a)

Definition at line 363 of file Overlay.cpp.

CPos CPos::operator- ( void  ) const

Definition at line 320 of file Overlay.cpp.

CPos CPos::operator- ( const CPos a) const

Definition at line 344 of file Overlay.cpp.

CPos CPos::operator- ( const CSize a) const

Definition at line 350 of file Overlay.cpp.

void CPos::operator-= ( const CPos a)

Definition at line 370 of file Overlay.cpp.

void CPos::operator-= ( const CSize a)

Definition at line 377 of file Overlay.cpp.

CPos & CPos::operator= ( const CPos a)

Definition at line 300 of file Overlay.cpp.

bool CPos::operator== ( const CPos a) const

Definition at line 308 of file Overlay.cpp.

Member Data Documentation

float CPos::x

Position.

Definition at line 195 of file Overlay.h.

float CPos::y

Definition at line 195 of file Overlay.h.


The documentation for this class was generated from the following files: