doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idWinVec2 Class Reference

#include <Winvar.h>

Inheritance diagram for idWinVec2:
idWinVar

Public Member Functions

 idWinVec2 ()
 
 ~idWinVec2 ()
 
virtual void Init (const char *_name, idWindow *win)
 
int operator== (const idVec2 &other) const
 
idWinVec2operator= (const idWinVec2 &other)
 
idVec2operator= (const idVec2 &other)
 
float x () const
 
float y () const
 
virtual void Set (const char *val)
 
 operator const idVec2 & () const
 
virtual void Update ()
 
virtual const char * c_str () const
 
void Zero ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile)
 
- Public Member Functions inherited from idWinVar
 idWinVar ()
 
virtual ~idWinVar ()
 
void SetGuiInfo (idDict *gd, const char *_name)
 
const char * GetName () const
 
void SetName (const char *_name)
 
idWinVaroperator= (const idWinVar &other)
 
idDictGetDict () const
 
bool NeedsUpdate ()
 
virtual size_t Size ()
 
void SetEval (bool b)
 
bool GetEval ()
 

Protected Attributes

idVec2 data
 
- Protected Attributes inherited from idWinVar
idDictguiDict
 
char * name
 
bool eval
 

Detailed Description

Definition at line 476 of file Winvar.h.

Constructor & Destructor Documentation

idWinVec2::idWinVec2 ( )
inline

Definition at line 478 of file Winvar.h.

idWinVec2::~idWinVec2 ( )
inline

Definition at line 479 of file Winvar.h.

Member Function Documentation

virtual const char* idWinVec2::c_str ( void  ) const
inlinevirtual

Implements idWinVar.

Definition at line 527 of file Winvar.h.

virtual void idWinVec2::Init ( const char *  _name,
idWindow win 
)
inlinevirtual

Implements idWinVar.

Definition at line 480 of file Winvar.h.

idWinVec2::operator const idVec2 & ( ) const
inline

Definition at line 518 of file Winvar.h.

idWinVec2& idWinVec2::operator= ( const idWinVec2 other)
inline

Definition at line 489 of file Winvar.h.

idVec2& idWinVec2::operator= ( const idVec2 other)
inline

Definition at line 495 of file Winvar.h.

int idWinVec2::operator== ( const idVec2 other) const
inline

Definition at line 486 of file Winvar.h.

virtual void idWinVec2::ReadFromSaveGame ( idFile savefile)
inlinevirtual

Implements idWinVar.

Definition at line 538 of file Winvar.h.

virtual void idWinVec2::Set ( const char *  val)
inlinevirtual

Implements idWinVar.

Definition at line 508 of file Winvar.h.

virtual void idWinVec2::Update ( void  )
inlinevirtual

Implements idWinVar.

Definition at line 521 of file Winvar.h.

virtual void idWinVec2::WriteToSaveGame ( idFile savefile)
inlinevirtual

Implements idWinVar.

Definition at line 534 of file Winvar.h.

float idWinVec2::x ( void  ) const
inlinevirtual

Implements idWinVar.

Definition at line 502 of file Winvar.h.

float idWinVec2::y ( ) const
inline

Definition at line 505 of file Winvar.h.

void idWinVec2::Zero ( void  )
inline

Definition at line 530 of file Winvar.h.

Member Data Documentation

idVec2 idWinVec2::data
protected

Definition at line 544 of file Winvar.h.


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