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
idGLDrawable Class Reference

#include <GLWidget.h>

Inheritance diagram for idGLDrawable:
idGLDrawableConsole idGLDrawableView idGLDrawableWorld idGLDrawableMaterial idGLDrawableModel

Public Member Functions

 idGLDrawable ()
 
 ~idGLDrawable ()
 
virtual void draw (int x, int y, int w, int h)
 
virtual void setMedia (const char *name)
 
virtual void buttonDown (int button, float x, float y)
 
virtual void buttonUp (int button, float x, float y)
 
virtual void mouseMove (float x, float y)
 
virtual int getRealTime ()
 
virtual bool ScreenCoords ()
 
void SetRealTime (int i)
 
virtual void Update ()
 
float getScale ()
 
void setScale (float f)
 

Protected Attributes

float scale
 
float xOffset
 
float yOffset
 
float zOffset
 
float pressX
 
float pressY
 
bool handleMove
 
int button
 
int realTime
 

Detailed Description

Definition at line 38 of file GLWidget.h.

Constructor & Destructor Documentation

idGLDrawable::idGLDrawable ( )

Definition at line 818 of file GLWidget.cpp.

idGLDrawable::~idGLDrawable ( )
inline

Definition at line 41 of file GLWidget.h.

Member Function Documentation

void idGLDrawable::buttonDown ( int  button,
float  x,
float  y 
)
virtual

Reimplemented in idGLDrawableModel, idGLDrawableMaterial, and idGLDrawableView.

Definition at line 202 of file GLWidget.cpp.

void idGLDrawable::buttonUp ( int  button,
float  x,
float  y 
)
virtual

Definition at line 211 of file GLWidget.cpp.

void idGLDrawable::draw ( int  x,
int  y,
int  w,
int  h 
)
virtual
virtual int idGLDrawable::getRealTime ( )
inlinevirtual

Reimplemented in idGLDrawableConsole.

Definition at line 47 of file GLWidget.h.

float idGLDrawable::getScale ( )
inline

Definition at line 55 of file GLWidget.h.

void idGLDrawable::mouseMove ( float  x,
float  y 
)
virtual

Reimplemented in idGLDrawableModel, idGLDrawableMaterial, and idGLDrawableView.

Definition at line 216 of file GLWidget.cpp.

virtual bool idGLDrawable::ScreenCoords ( )
inlinevirtual

Reimplemented in idGLDrawableModel.

Definition at line 48 of file GLWidget.h.

virtual void idGLDrawable::setMedia ( const char *  name)
inlinevirtual

Reimplemented in idGLDrawableConsole, idGLDrawableModel, idGLDrawableMaterial, and idGLDrawableView.

Definition at line 43 of file GLWidget.h.

void idGLDrawable::SetRealTime ( int  i)
inline

Definition at line 51 of file GLWidget.h.

void idGLDrawable::setScale ( float  f)
inline

Definition at line 58 of file GLWidget.h.

virtual void idGLDrawable::Update ( void  )
inlinevirtual

Reimplemented in idGLDrawableModel, idGLDrawableMaterial, and idGLDrawableView.

Definition at line 54 of file GLWidget.h.

Member Data Documentation

int idGLDrawable::button
protected

Definition at line 69 of file GLWidget.h.

bool idGLDrawable::handleMove
protected

Definition at line 68 of file GLWidget.h.

float idGLDrawable::pressX
protected

Definition at line 66 of file GLWidget.h.

float idGLDrawable::pressY
protected

Definition at line 67 of file GLWidget.h.

int idGLDrawable::realTime
protected

Definition at line 70 of file GLWidget.h.

float idGLDrawable::scale
protected

Definition at line 62 of file GLWidget.h.

float idGLDrawable::xOffset
protected

Definition at line 63 of file GLWidget.h.

float idGLDrawable::yOffset
protected

Definition at line 64 of file GLWidget.h.

float idGLDrawable::zOffset
protected

Definition at line 65 of file GLWidget.h.


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